mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
[CFE] Make synthetic __loadLibrary procedure static
Change-Id: I23fa164059b214bcc763ac582aafcf86dc1964d4 Reviewed-on: https://dart-review.googlesource.com/37121 Reviewed-by: Kevin Millikin <kmillikin@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
parent
f8596607bb
commit
ec6eb06d2f
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class LoadLibraryBuilder extends Builder {
|
|||
String prefix = expression.import.name;
|
||||
tearoff = new Procedure(new Name('__loadLibrary_$prefix', parent.target),
|
||||
ProcedureKind.Method, new FunctionNode(new ReturnStatement(expression)),
|
||||
fileUri: parent.target.fileUri)
|
||||
fileUri: parent.target.fileUri, isStatic: true)
|
||||
..fileOffset = charOffset;
|
||||
return tearoff;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue