Closed
Description
From @hterkelsen on April 28, 2016 17:46
We're sorry, you've found a bug in our compiler.
You can report this bug at:
https://github.com/dart-lang/dev_compiler/issues
Please include the information below in your report, along with
any other information that may help us track it down. Thanks!
dartdevc arguments: compile -o a.js /usr/local/google/home/het/Code/ddc_test/hello.dart
dart --version: 1.16.0-dev.5.0 (Wed Apr 13 04:21:21 2016) on "linux_x64"
Invalid build root. /usr/local/google/home/het/Code/dev_compiler/ does not contain /usr/local/google/home/het/Code/ddc_test/hello.dart
#0 jsLibraryName (package:dev_compiler/src/compiler/code_generator.dart:3864:5)
#1 CodeGenerator._emitModule (package:dev_compiler/src/compiler/code_generator.dart:199:32)
#2 CodeGenerator.compile (package:dev_compiler/src/compiler/code_generator.dart:141:18)
#3 ModuleCompiler.compile (package:dev_compiler/src/compiler/compiler.dart:95:26)
#4 CompileCommand.run (package:dev_compiler/src/compiler/command.dart:56:36)
#5 CommandRunner.runCommand.<anonymous closure> (package:args/command_runner.dart:176:22)
#6 Future.Future.sync (dart:async/future.dart:168)
#7 CommandRunner.runCommand (package:args/command_runner.dart:129:16)
#8 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:103:29)
#9 Future.Future.sync (dart:async/future.dart:168)
#10 CommandRunner.run (package:args/command_runner.dart:103:11)
#11 _runCommand.<_runCommand_async_body> (file:///usr/local/google/home/het/Code/dev_compiler/bin/dartdevc.dart:61:18)
#12 Future.Future.microtask.<anonymous closure> (dart:async/future.dart:144)
#13 _microtaskLoop (dart:async/schedule_microtask.dart:41)
#14 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#15 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#16 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
That file definitely exists though...
$ ls /usr/local/google/home/het/Code/ddc_test/hello.dart
/usr/local/google/home/het/Code/ddc_test/hello.dart
Copied from original issue: dart-archive/dev_compiler#530