Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate analysis options initialization from context setup so that analysis options can be used to correctly setup the SDK in strong mode. Fix #28507 R=brianwilkerson@google.com Review-Url: https://codereview.chromium.org/2678633002 .
- Loading branch information
danrubel
committed
Feb 4, 2017
1 parent
de05077
commit 167107e
Showing
4 changed files
with
87 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import 'dart:js'; | ||
|
||
typedef dynamic Func(String x, String y); | ||
|
||
Func bar(Func f) { | ||
return allowInterop(f); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,7 @@ Function wrap(Function f) { | |
print('stderr:'); | ||
print(errorSink); | ||
} | ||
throw e; | ||
rethrow; | ||
} | ||
}; | ||
} |