DescriptionMake it a compile-time error if a library has `part "uri";` twice for the same uri.
If the part declaration is non-empty, it will always cause a compile-time error anyway due to duplicate declarations in the library scope. This just makes it explicit that it's an error in all cases, and avoids the special case of the empty part file being silently accepted until you put something in it.
R=eernst@google.com
Committed: https://github.com/dart-lang/sdk/commit/cc6d93b57c697e2afc86431e5b580dc2c1ae89a7
Patch Set 1 #
Total comments: 2
Messages
Total messages: 9 (3 generated)
|