blob: b426a33a98ff4a2d0e7f59ef6da47eb02268df53 [file] [log] [blame]
# Copyright (c) 2019, 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.
# Compile a application.
# Perform an expression calculation on it, where the expression gives a compile
# time error.
# Ask to compile again, and make sure we don't see the expression compilation
# error.
type: newworld
strong: false
worlds:
- entry: main.dart
sources:
main.dart: |
main() {
print("hello");
}
expectedLibraryCount: 1
expressionCompilation:
uri: main.dart
expression: foo()
- entry: main.dart
expectInitializeFromDill: false
worldType: updated
expectedLibraryCount: 1