-
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 failurescustomer-flutterlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Milestone
Description
Example gist https://gist.github.com/jakemac53/2d7449e8002589f2f93a828c5bf41915
Given a structure like the gist above, I get an error like this:
Error compiling dartdevc module:_test|web/main.ddc.js
[error] Undefined name 'platform'. (/web/main.dart, line 10, col 9)
Please fix all errors before compiling (warnings are okay).
So it doesn't appear that anything is actually being exported.
Note that in this scenario the platform.dart
file does live in a separate module - so it could be an error on the analysis summary side of things. It does work in my IDE and I can click through to the definition (it goes to the default.dart import).
Metadata
Metadata
Assignees
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 failurescustomer-flutterlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)