ff99a0ce59
This is the result of: - taking the diff of the branch closure_conversion to master in the kernel repository - updating the file paths - applying the diff to the Dart SDK - fixing conflicts between the changes to pkg/kernel in the Dart SDK and the master branch in the kernel repository R=asgerf@google.com Review-Url: https://codereview.chromium.org/2561723003 .
14 lines
340 B
Dart
14 lines
340 B
Dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE.md file.
|
|
|
|
main(List<String> arguments) {
|
|
foo(x) {
|
|
bar() {
|
|
print(x);
|
|
}
|
|
return bar;
|
|
}
|
|
foo(arguments[0])();
|
|
}
|