-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresweb-dev-compiler
Description
Environment:
Running Dart VM version: 2.5.0-dev.0.0 (Thu Jun 20 22:29:29 2019 +0200) on "windows_x64"
With the following build packages (currently the latest for all packages):
build_config:file:///C:/Users/grouma/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/build_config-0.4.0/lib/
build_daemon:file:///C:/Users/grouma/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/build_daemon-1.1.0/lib/
build_modules:file:///C:/Users/grouma/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/build_modules-2.3.0/lib/
build_resolvers:file:///C:/Users/grouma/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/build_resolvers-1.0.5/lib/
build_runner:file:///C:/Users/grouma/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/build_runner-1.6.0/lib/
build_runner_core:file:///C:/Users/grouma/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/build_runner_core-3.0.6/lib/
build_web_compilers:file:///C:/Users/grouma/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/build_web_compilers-2.1.1/lib/
built_collection:file:///C:/Users/grouma/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/built_collection-4.2.2/lib/
Reproduction:
Build the following (although any basic web app should do):
https://github.com/dart-lang/webdev/tree/master/example
Notice that main.dart.js
contains the following:
dart.trackLibraries("web/main", {
"org-dartlang-app:///web/main.dart": main
}, {
}, '{"version":3,"sourceRoot":"","sources":["..\\\\null\\\\web\\\\main.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;IAUE,WAAM;IAEN,4BAAkB,aAAa,SAAC,GAAG;MACjC,WAAM;AACN,YAAgC,+CAAO,AAAK,oBAAO,uCAAC,WAAW;IAChE;IACD,AAAS,AAAK,kCAAO,wBAAe,YAAO;AAEvC,gBAAQ;IACN,qBAAS,gCAAkB,KAAI,QAAC;MACpC,WAAM,AAAwB,0BAAP,QAAF,AAAE,KAAK,GAAP;;EAEzB","file":"main.ddc.js"}');
// Exports:
return {
main: main
};
Clearly the source map location \null\web\main.dart
is invalid. This causes issues with debugging and general web development.
Note that downgrading Dart to version 2.4.0.0-dev-1
resolves the issue.
Metadata
Metadata
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresweb-dev-compiler