Comments (5)
cough I want union types! cough
from sdk.
@eyebrowsoffire – should this fix get into beta?
from sdk.
should this fix get into beta?
Can it be cherry-picked if it's a breaking change?
from sdk.
I personally don't think we need to worry about cherry-picking this.
from sdk.
I'll send out an email to [email protected] here for the breaking change (and file an issue along with it), but I think the best justification I can find for this is https://github.com/tc39/proposal-dynamic-import-host-adjustment, which is a somewhat-related proposal. I still want to dig around and see if there's a concrete specification somewhere saying that this is intended before that email.
edit: MDN says it allows non-string literal specifiers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import#importing_modules_with_a_non-literal_specifier. Maybe that's good enough.
The spec also seems to imply that the specifier is stringified: https://tc39.es/proposal-dynamic-import/#sec-import-call-runtime-semantics-evaluation.
from sdk.
Related Issues (20)
- There is No suggestions for typedef of classes with factory constructors when use `Foo.<Here Trigger Suggestion>()`;
- Improve String handling in Dart for native platforms HOT 1
- Analyser reports no issues for erroring dart program [records] HOT 3
- Analyzer: workspace pubspec parsing, warning/error, auto-complete support
- [Pub workspaces] Support for parsing, warning/error for the new workspace syntax in pubspecs HOT 1
- ☂️ Add Missing Quick-Fixes
- Expression Compiler can't pass enough information for late local variables using `DartScope.definitions`
- [wildcards] report a warning on `final` wildcard variables HOT 8
- "Error: The non-abstract class '_StaticTypeImpl' is missing implementations"
- Analyzer Feedback from IntelliJ
- [vm] Move uri.cc from platform to bin
- [Null-aware elements] Experiment flag HOT 2
- [Null-aware elements] Language Tests in tests/language HOT 1
- [Null-aware elements] co19 Tests HOT 5
- [Null-aware elements] All tests in tests/language and co19 passing.
- Feature Request: Push Members Down & Safe Delete Refactor
- Macro: `extendsType` freezes analyzer HOT 5
- Ctrl + Click on @override should take you to the method being overriden HOT 8
- [dart2wasm] Compiler crash when using ffi Structs as a paramter to @Native HOT 3
- [Exhaustiveness Checking] Different behavior between statements and expressions HOT 12
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 sdk.