Comments (11)
Removing block label, as dart-lang/sdk#32188 has been closed.
from webdev.
Note, this is blocked by dart-lang/sdk#32188
from webdev.
We have a matrix here.
We could have webdev --preview-dart-2
run dart2js in the right mode.
But invoking webdev on the VM w/ --preview-dart-2 would be some other magic (likely pub global run --preview-dart-2 webdev
or some such.
Then for the full effect: pub global run --preview-dart-2 webdev serve --preview-dart-2
from webdev.
from webdev.
This would ONLY work for dart2js. Users would have to use `DART_VM_OPTIONS=--preview-dart-2" for the VM.
Still interesting?
from webdev.
@kevmoo let's at least enable dart2js/ddc with passing --preview-dart-2
to build_runner. We should probably go ahead and turn this on by default.
It's a shame that there's no other way to enable for the VM, but hopefully we're close enough to flipping the default there that angulardart/angular#1353 is enough for now.
from webdev.
let's at least enable dart2js/ddc with passing
--preview-dart-2
to build_runner.
There is no reasonable way to support this other that also plumbing special support for this flag through build_runner as well which would violate our goal of not having special understanding of the compilers.
We don't have any syntax to allow merging arguments in to some list of Strings option on a builder which is what would need to happen here.
from webdev.
We are going to flip the flag very soon on the SDK, so if you're willing to clean up afterwards, that's another possibility.
from webdev.
dart-lang/sdk#32188 didn't completely fix the issue, see dart-lang/sdk#33460. So we're still blocked here.
The work-around is to use DART_VM_OPTIONS=--preview-dart-2 pub global run webdev build
from webdev.
Is this done "enough" now that the default is Dart2?
from webdev.
from webdev.
Related Issues (20)
- Record types is too verbose in chrome vs. VM
- Debug Extension tests failing on main branch of Dart SDK
- Make `package:dwds` and `package:webdev` release process more frictionless
- Display of runtime types differs between web and VM apps
- Tracking bug: Changes to the Dart VM service interface should be easier to roll out across `vm_service` and `dwds`
- Replace boolean fields in ClassMetadata by an instance kind HOT 1
- Can't globally activate webdev ^2.0.0 on Dart 2.18.7 HOT 1
- Support VM Service API methods used by DevTools performance panel
- All tests using `package:webdriver` are failing
- Remove uses of .__proto__ from JS code
- Batch stream tests are flaky on windows
- Trying to resume an isolate that is not paused throws the wrong error code HOT 1
- DWDS error handling should align better with `vm_service`'s error handling HOT 1
- Support running frontend server tests with --canary flag
- Support running build_daemon tests with --canary flag
- Use new DDC debugger API
- Run instance_test.dart with frontend server
- _TypeError in ChromeProxyService._setUpChromeConsoleListeners.<anonymous closure> HOT 3
- google3 updates needed for the next roll of this repo HOT 2
- debugging localhost iframe flutter window from another web server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webdev.