Files
sdk/pkg/analyzer_cli/test/data/strong_sdk/main.dart
T
danrubel 167107e94c fix dartanalyzer sdk setup
Separate analysis options initialization from context setup
so that analysis options can be used to correctly setup the SDK
in strong mode.

Fix https://github.com/dart-lang/sdk/issues/28507

R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2678633002 .
2017-02-04 12:08:53 -05:00

8 lines
109 B
Dart

import 'dart:js';
typedef dynamic Func(String x, String y);
Func bar(Func f) {
return allowInterop(f);
}