Chromium Code Reviews
Descriptionsmall refactor to move JsPeer code out of _finishClassDef
Nothing wrong with it there, but it was tangled up with the _emitClassIfNeeded code I'm trying to fix for use-before-define issues. Also _finishClassDef's reason for existing is shared code between FunctionTypeAlias/ClassTypeAlias/ClassDeclaration, so the fact that only one of those cares about jsPeer was a sign.
(My first thought was actually _finishClassMembers, but discovered the generics issue: https://github.com/dart-lang/dev_compiler/issues/154)
R=jacobr@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/7fc439ae08e39884e8c9410e95e0006a6f8ab5cf
Patch Set 1 #
Total comments: 2
Messages
Total messages: 6 (1 generated)
|
|||||||||||||||||||