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

Issue 9107031: fix Library*NegativeTests (and a couple Prefix ones by accident) (Closed)

Created:
8 years, 11 months ago by jimhug
Modified:
8 years, 11 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

fix Library*NegativeTests (and a couple Prefix ones by accident) In general, this change felt fine to make in frog; however, it felt REALLY ugly to make the required fixes to the dartdoc tests. I suppose this just raises the priority of our packaging and library story. Committed: https://code.google.com/p/dart/source/detail?r=3222

Patch Set 1 #

Patch Set 2 : updated copyrights #

Patch Set 3 : rebased #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -289 lines) Patch
M frog/lib/corelib.dart View 1 2 chunks +1 line, -13 lines 0 comments Download
M frog/lib/corelib_impl.dart View 1 2 chunks +14 lines, -1 line 0 comments Download
M frog/library.dart View 1 7 chunks +68 lines, -41 lines 2 comments Download
M frog/member.dart View 1 3 chunks +3 lines, -3 lines 1 comment Download
M frog/minfrog View 13 chunks +222 lines, -187 lines 0 comments Download
M frog/value.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M frog/world.dart View 1 2 chunks +4 lines, -1 line 0 comments Download
M tests/language/language.status View 2 chunks +0 lines, -6 lines 0 comments Download
M utils/tests/dartdoc/src/dartdoc_tests.dart View 1 2 3 chunks +35 lines, -35 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
jimhug
8 years, 11 months ago (2012-01-12 01:20:45 UTC) #1
Bob Nystrom
Ouch. http://codereview.chromium.org/9107031/diff/3001/utils/tests/dartdoc/src/dartdoc_tests.dart File utils/tests/dartdoc/src/dartdoc_tests.dart (right): http://codereview.chromium.org/9107031/diff/3001/utils/tests/dartdoc/src/dartdoc_tests.dart#newcode8 utils/tests/dartdoc/src/dartdoc_tests.dart:8: #import('../../../dartdoc/dartdoc.dart', prefix: 'dd'); What (unused) names are colliding ...
8 years, 11 months ago (2012-01-12 01:25:35 UTC) #2
Jennifer Messerly
8 years, 11 months ago (2012-01-12 01:58:33 UTC) #3
lgtm

http://codereview.chromium.org/9107031/diff/3001/frog/library.dart
File frog/library.dart (right):

http://codereview.chromium.org/9107031/diff/3001/frog/library.dart#newcode72
frog/library.dart:72: // Special exemption in spec to ensure core is only
imported once
Is this to avoid our implicit import of dart:core conflicting with explicit
import?

http://codereview.chromium.org/9107031/diff/3001/frog/library.dart#newcode230
frog/library.dart:230: Member lookup(String name, SourceSpan span) {
Member lookup(String name, SourceSpan span) => _topNames[name];

http://codereview.chromium.org/9107031/diff/3001/frog/member.dart
File frog/member.dart (right):

http://codereview.chromium.org/9107031/diff/3001/frog/member.dart#newcode230
frog/member.dart:230: SourceSpan get span() => type.definition === null ? null :
type.definition.span;
long line

http://codereview.chromium.org/9107031/diff/3001/utils/tests/dartdoc/src/dart...
File utils/tests/dartdoc/src/dartdoc_tests.dart (right):

http://codereview.chromium.org/9107031/diff/3001/utils/tests/dartdoc/src/dart...
utils/tests/dartdoc/src/dartdoc_tests.dart:8:
#import('../../../dartdoc/dartdoc.dart', prefix: 'dd');
I would've called this "doc" personally

Powered by Google App Engine
This is Rietveld 408576698