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

Issue 9283031: Build script tags. (Closed)

Created:
8 years, 11 months ago by ahe
Modified:
8 years, 11 months ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org, kasperl, floitsch, Lasse Reichstein Nielsen, karlklose
Base URL:
ssh://aaricia.aar/home/ahe/Dart/all/dart.googlecode.com.git@script
Visibility:
Public.

Description

Build script tags. For now, ignore script tags but warn that they aren't supported. This flushes out bugs elsewhere in the compiler. Committed: https://code.google.com/p/dart/source/detail?r=3594

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -61 lines) Patch
M dart/frog/leg/compiler.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M dart/frog/leg/elements/elements.dart View 1 4 chunks +21 lines, -4 lines 0 comments Download
M dart/frog/leg/resolver.dart View 1 chunk +4 lines, -1 line 0 comments Download
M dart/frog/leg/scanner/class_element_parser.dart View 4 chunks +3 lines, -4 lines 0 comments Download
M dart/frog/leg/scanner/listener.dart View 5 chunks +16 lines, -20 lines 0 comments Download
M dart/frog/leg/scanner/scanner_task.dart View 2 chunks +7 lines, -11 lines 0 comments Download
M dart/frog/leg/universe.dart View 1 1 chunk +6 lines, -3 lines 0 comments Download
M dart/frog/tests/leg/src/TypeCheckerTest.dart View 2 chunks +6 lines, -9 lines 0 comments Download
M dart/frog/tests/leg/src/mock_compiler.dart View 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/tests/leg/src/parser_helper.dart View 1 chunk +10 lines, -3 lines 0 comments Download
M dart/tests/language/language-leg.status View 4 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ahe
8 years, 11 months ago (2012-01-24 20:32:07 UTC) #1
ngeoffray
LGTM with comments https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/elements/elements.dart File dart/frog/leg/elements/elements.dart (right): https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/elements/elements.dart#newcode89 dart/frog/leg/elements/elements.dart:89: class EnclosingElement extends Element { EnclosingElement ...
8 years, 11 months ago (2012-01-25 09:04:59 UTC) #2
ahe
Hi Nicolas, Thank you for taking a look. Cheers, Peter https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/elements/elements.dart File dart/frog/leg/elements/elements.dart (right): https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/elements/elements.dart#newcode89 ...
8 years, 11 months ago (2012-01-25 09:18:53 UTC) #3
ahe
8 years, 11 months ago (2012-01-25 09:28:53 UTC) #4
https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/elements/...
File dart/frog/leg/elements/elements.dart (right):

https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/elements/...
dart/frog/leg/elements/elements.dart:89: class EnclosingElement extends Element
{
On 2012/01/25 09:04:59, ngeoffray wrote:
> EnclosingElement -> ContainerElement?
> 
> Because other elements can be enclosing (eg a method), calling this class
> EnclosingElement makes things confusing.

Done.

https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/elements/...
dart/frog/leg/elements/elements.dart:112: if (existing !== element) {
On 2012/01/25 09:04:59, ngeoffray wrote:
> Is this the right place to do it? Do we want a per-compilation unit error, or
a
> per-library error? It looks to me that the library will have to create the
scope
> and run through the topLevelElements of its compilation units, in order to
> report duplicates.

Done.

https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/universe....
File dart/frog/leg/universe.dart (right):

https://chromiumcodereview.appspot.com/9283031/diff/1/dart/frog/leg/universe....
dart/frog/leg/universe.dart:31: Element existing =
elements.putIfAbsent(element.name, ()=>element);
On 2012/01/25 09:04:59, ngeoffray wrote:
> spaces around => ?

Done.

Powered by Google App Engine
This is Rietveld 408576698