Chromium Code Reviews
DescriptionUpdate SOURCE_KIND when a missing source file appears
If the source kind isn't updated, we get a bogus error:
The imported library ... must not have a part-of directive.
This error is calculated in BuildDirectiveElementsTask.
based on SOURCE_KIND.
SOURCE_KIND is based on whether MODIFICATION_DATE is -1,
so make sure we invalidate MODIFICATION_DATE.
Also, fix an issue where _sourceChanged would have
no effect if incremental resolution isn't run, because
the content has already been updated and is therefore
equal.
Also, remove unused RelativeFileUriResolver and
clarify comments around missing Source handling.
BUG=https://github.com/dart-lang/sdk/issues/25808
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/41ce555c2e1c8239ed460f2471f7eb2082f6fd48
Patch Set 1 #
Total comments: 14
Patch Set 2 : fix test and revert unrelated changes #Patch Set 3 : oops, fix the test #
Messages
Total messages: 13 (2 generated)
|
|||||||||||||||||||||||||||||||||||||