Comments (2)
This should just e a compile-time error. The as
clause goes after the if
clauses.
If you write it as
import 'impl.dart' if (dart.library.io) 'impl_io.dart' as impl;
it should do what you intend.
Grammatically the 'impl.dart' if (dart.library.io) 'impl_io.dart'
is a single production <configurableUri>
which is either a URI or a URI followed by one or more conditional URIs.
Filing as parser bug, it shouldn't be allowed to parse with an if ...
after the prefix.
from sdk.
Hey, I'm new to contributing to dart. Can you just help with reproducing this error to me ?
As per my knowledge @lrhn is right, and this is just an issue that should be solved by the following code written.
from sdk.
Related Issues (20)
- Unstable graph construction for double.ceil/floor when running from app-jit HOT 1
- [dart2wasm] Issue with dynamic data type is not very intuitive as expected HOT 8
- Analyzer Feedback from IntelliJ HOT 1
- Optimize the DateTime type for functional programming HOT 7
- Optimize the ` dart:isolate ` API to use functional programming HOT 4
- Create the `dart:time` API for processing dates with functional programming HOT 4
- Create the `dart:function` api to standardize the Callback implementation HOT 6
- Optimize the `dart:async` API to use functional programming HOT 2
- [vm/ffi] Custom snapshot serializer/deserializers for user-defined classes backed by native state HOT 4
- NasserFlutter_Analyzer Feedback from IntelliJ HOT 1
- Having an issue trying to convert an async function HOT 5
- Analyzer Feedback from IntelliJ HOT 1
- Analyzer Feedback from IntelliJ HOT 1
- Empty vs. null query parameters - wrong encoding in Uri HOT 5
- admin folder are listed with `Directory.list()` but `Directory.existsSync` return false on them HOT 2
- Analyzer's Comment nodes are always 'doc' comments; deprecate unused properties
- truncateAsFixed() idea HOT 1
- Types declared by a macro are not visible outside the library where the macro was applied HOT 1
- Some tests no longer work with custom local builds HOT 23
- A macro application generated by another macro is not invoked 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 sdk.