Skip to content

error on part statement not removed until library file updated #8147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stevemessick opened this issue Jan 27, 2013 · 5 comments
Closed

error on part statement not removed until library file updated #8147

stevemessick opened this issue Jan 27, 2013 · 5 comments
Assignees
Labels
closed-obsolete Closed as the reported issue is no longer relevant
Milestone

Comments

@stevemessick
Copy link
Contributor

Whenever I add a new file as part of a custom library, dart editor reports that it can't find the library I'm referring to in my "part of XXX" directive. I checked that I also correctly added the "part" directive to my library's main file. Even if I use Tools > Reanalyze Sources, it still reports unknown library. If I restart dart editor, then the warnings go away and all is good.
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.2.10_r16761 (2013-01-07)
OS: Linux - amd64 (3.5.0-22-generic)
JVM: 1.7.0_09

projects: 1

open dart files: 4

auto-run pub: true
mem max/total/free: 889 / 238 / 73 MB
thread count: 26
analysis: 0 tasks, 21 libraries, 2 contexts
index: 59388 relationships and 0 attributes in 12642 elements in 124 resources stored in 2 MB on disk

SDK installed: true
Dartium installed: true

@jmesserly
Copy link

Issue #8442 has been merged into this issue.


cc @sigmundch.
cc @gbracha.

@sigmundch
Copy link
Member

oops, merged wrong bug number.

@danrubel
Copy link

Analysis does not remove error in main.dart (see screenshot) until main.dart is modified or saved.


Attachment:
2013-04-16_19-32-00.png (127.48 KB)


Set owner to @bwilkerson.
Removed this from the M4 milestone.
Added this to the M5 milestone.
Changed the title to: "error on part statement not removed until library file updated".

@danrubel
Copy link

Issue #8143 has been merged into this issue.

@bwilkerson
Copy link
Member

I am not able to reproduce this problem. If it's still a problem, please provide explicit steps to reproduce it.


Added AssumedStale label.

@stevemessick stevemessick added Type-Defect closed-obsolete Closed as the reported issue is no longer relevant labels May 14, 2013
@stevemessick stevemessick added this to the M5 milestone May 14, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-obsolete Closed as the reported issue is no longer relevant
Projects
None yet
Development

No branches or pull requests

5 participants