Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Issue 811583004: Recover from incorrectly ordered library tags. (Closed)

Created:
6 years ago by ahe
Modified:
6 years ago
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/trunk
Visibility:
Public.

Description

Recover from incorrectly ordered library tags. R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=42455

Patch Set 1 #

Total comments: 7

Patch Set 2 : Incorporate Luke's suggestions. #

Patch Set 3 : Use states instead of a bool. #

Patch Set 4 : A bool is needed. #

Total comments: 2

Patch Set 5 : Typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -56 lines) Patch
M dart/pkg/compiler/lib/src/library_loader.dart View 1 2 3 4 chunks +99 lines, -56 lines 0 comments Download
M dart/pkg/compiler/lib/src/warnings.dart View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
ahe
https://codereview.chromium.org/811583004/diff/1/dart/pkg/compiler/lib/src/warnings.dart File dart/pkg/compiler/lib/src/warnings.dart (right): https://codereview.chromium.org/811583004/diff/1/dart/pkg/compiler/lib/src/warnings.dart#newcode2181 dart/pkg/compiler/lib/src/warnings.dart:2181: static const MessageKind LIBRARY_TAG_MUST_BE_FIRST = const MessageKind( Luke: Any ...
6 years ago (2014-12-16 14:45:51 UTC) #2
lukechurch
https://codereview.chromium.org/811583004/diff/1/dart/pkg/compiler/lib/src/warnings.dart File dart/pkg/compiler/lib/src/warnings.dart (right): https://codereview.chromium.org/811583004/diff/1/dart/pkg/compiler/lib/src/warnings.dart#newcode2182 dart/pkg/compiler/lib/src/warnings.dart:2182: "Library declaration should come before other declartions.", The library ...
6 years ago (2014-12-16 15:18:16 UTC) #4
ahe
Thank you, Luke, I've incorporated your suggestions. https://codereview.chromium.org/811583004/diff/1/dart/pkg/compiler/lib/src/warnings.dart File dart/pkg/compiler/lib/src/warnings.dart (right): https://codereview.chromium.org/811583004/diff/1/dart/pkg/compiler/lib/src/warnings.dart#newcode2182 dart/pkg/compiler/lib/src/warnings.dart:2182: "Library declaration ...
6 years ago (2014-12-16 15:27:18 UTC) #5
lukechurch
On 2014/12/16 15:27:18, ahe wrote: > Thank you, Luke, I've incorporated your suggestions. > > ...
6 years ago (2014-12-16 15:32:06 UTC) #6
ahe
PTAL, realized that I could use states instead of a bool to tell if a ...
6 years ago (2014-12-17 09:47:44 UTC) #7
ahe
A bool is needed after all. Added a test which illustrates that.
6 years ago (2014-12-17 09:57:06 UTC) #9
ahe
ping :-)
6 years ago (2014-12-18 09:43:04 UTC) #10
Johnni Winther
lgtm https://codereview.chromium.org/811583004/diff/80001/dart/pkg/compiler/lib/src/warnings.dart File dart/pkg/compiler/lib/src/warnings.dart (right): https://codereview.chromium.org/811583004/diff/80001/dart/pkg/compiler/lib/src/warnings.dart#newcode2182 dart/pkg/compiler/lib/src/warnings.dart:2182: "The library declaration should come before other declartions.", ...
6 years ago (2014-12-18 10:05:11 UTC) #11
ahe
Thank you, Johnni! https://codereview.chromium.org/811583004/diff/80001/dart/pkg/compiler/lib/src/warnings.dart File dart/pkg/compiler/lib/src/warnings.dart (right): https://codereview.chromium.org/811583004/diff/80001/dart/pkg/compiler/lib/src/warnings.dart#newcode2182 dart/pkg/compiler/lib/src/warnings.dart:2182: "The library declaration should come before ...
6 years ago (2014-12-18 11:05:13 UTC) #12
ahe
6 years ago (2014-12-18 11:32:31 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:100001) manually as 42455 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698