зеркало из https://github.com/mozilla/gecko-dev.git
Bug 738912 - Part 1: Sort dictionary members lexicographically. r=khuey
This commit is contained in:
Родитель
ac2a11a82b
Коммит
79c26e3bdb
|
@ -490,6 +490,8 @@ class BaseInterface(object):
|
|||
self.name = name
|
||||
self.attributes = InterfaceAttributes(attlist, location)
|
||||
self.base = base
|
||||
if self.kind == 'dictionary':
|
||||
members.sort(key=lambda x:x.name)
|
||||
self.members = members
|
||||
self.location = location
|
||||
self.namemap = NameMap()
|
||||
|
|
Загрузка…
Ссылка в новой задаче