зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
1ee07431a8
Коммит
4e63d9dcd7
|
@ -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):
|
||||
|
|
Загрузка…
Ссылка в новой задаче