Files
sdk/tests/compiler/dart2js/serialization/data/constructor_name.dart
T
Johnni Winther a09ec46da6 Test in-memory serialization/deserialization in test-mode
+ fixes for switch and continue

Change-Id: I1f4fb9327b9db08eb69f750a66073affe2659f7d
Reviewed-on: https://dart-review.googlesource.com/c/81603
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-10-30 11:18:24 +00:00

20 lines
453 B
Dart

// Copyright (c) 2018, 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 file.
class Class1 {
var foo;
Class1.foo();
}
// TODO(johnniwinther): Uncomment this when #34965 is fixed:
//class Class2 {
// var bar;
// factory Class2.bar() => null;
//}
main() {
new Class1.foo().foo;
//new Class2.bar().bar;
}