Bug 1829302 - Don't need to include header or have forward declaration for types that is from parent dictionary; r=peterv

As we have already included the header where the parent dictionary is declared.

Differential Revision: https://phabricator.services.mozilla.com/D176124
This commit is contained in:
Edgar Chen 2023-04-21 10:26:39 +00:00
Родитель 1ee07431a8
Коммит 4e63d9dcd7
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -1053,12 +1053,7 @@ def getTypesFromDictionary(dictionary):
"""
Get all member types for this dictionary
"""
types = []
curDict = dictionary
while curDict:
types.extend([m.type for m in curDict.members])
curDict = curDict.parent
return types
return [m.type for m in dictionary.members]
def getTypesFromCallback(callback):