Comments (3)
This is still somewhat of a semantic question since source phases aren't really associated with any execution, they are more like slots on the module map.
We could similarly say that this is more like TDZ, since the slot is there but it is not filled. Note also that modules in cycles with TDZ provide reference errors when attempting to access a binding from a module which has not yet been executed.
That all said, I don't have strong opinions and am open to changing the error type, but some further discussion could be worthwhile.
from proposal-source-phase-imports.
Re discussed about this in a modules harmony call, what was the resolution?
from proposal-source-phase-imports.
I believe there were no strong opinions. If you still feel strongly towards SyntaxError please feel free to go ahead.
from proposal-source-phase-imports.
Related Issues (20)
- trusted type representation superceding asset references HOT 6
- Relationship to asset references proposal HOT 14
- Use extensible object syntax? HOT 68
- Use special module specifier format HOT 2
- Reflect string versus boolean HOT 2
- Lazy versus eager reflection HOT 2
- Reflect with transitive dependencies HOT 6
- Stage 3 reviews HOT 6
- Support both module reflection and module source reflection HOT 3
- Consider a method-like `import` metaproperty for source phase imports HOT 6
- Disallow newlines between phase and identifier HOT 1
- Consider cost of `import source from` ambiguity
- `export source x from "y"` HOT 4
- Is %AbstractModuleSource% synchronously reachable from script? HOT 2
- Bikeshedding the `source` keyword HOT 17
- Bikeshedding the `source` keyword: voting HOT 16
- WebAssembly compile-time imports HOT 7
- "Source" is a little confusing HOT 1
- Implementation feedback: what's the deal with enforcing subclassing via [[ModuleSourceClassName]]? HOT 31
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 proposal-source-phase-imports.