Created
March 4, 2016 21:56
-
-
Save collinjackson/6beeff0ae0d6812d40c8 to your computer and use it in GitHub Desktop.
syntax error
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
jackson-macpro:conditional jackson$ dart --version | |
Dart VM version: 1.15.0-dev.5.0 (Wed Mar 2 04:28:16 2016) on "macos_x64" | |
jackson-macpro:conditional jackson$ cat foo.dart | |
import 'bar.dart' | |
if (dart.library.js) 'baz.dart'; | |
void main() => print("Hello $world!"); | |
jackson-macpro:conditional jackson$ dart foo.dart | |
'file:///Users/jackson/flutter/conditional/foo.dart': error: line 1 pos 16: semicolon expected | |
import 'bar.dart' | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment