Chromium Code Reviews

Issue 9168020: Issue 985: Default class without constructor does not cause a compile-time error (Closed)

Created:
8 years, 11 months ago by codefu
Modified:
8 years, 11 months ago
Reviewers:
mmendez, zundel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Issue 985: Default class without constructor does not cause a compile-time error http://code.google.com/p/dart/issues/detail?id=985 R=mmendez,zundel BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3239

Patch Set 1 #

Total comments: 4

Patch Set 2 : Nits #

Unified diffs Side-by-side diffs Stats (+43 lines, -16 lines)
M compiler/java/com/google/dart/compiler/resolver/Elements.java View 1 chunk +16 lines, -0 lines 0 comments
M compiler/java/com/google/dart/compiler/resolver/Resolver.java View 1 chunk +2 lines, -1 line 0 comments
M compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java View 1 chunk +22 lines, -12 lines 0 comments
M compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java View 3 chunks +3 lines, -3 lines 0 comments

Messages

Total messages: 4 (0 generated)
codefu
http://codereview.chromium.org/9168020/diff/1/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java File compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java (left): http://codereview.chromium.org/9168020/diff/1/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java#oldcode1102 compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java:1102: checkSourceErrors( This formatting was my fault on a previous ...
8 years, 11 months ago (2012-01-10 21:53:23 UTC) #1
mmendez
lgtm http://codereview.chromium.org/9168020/diff/1/compiler/java/com/google/dart/compiler/resolver/Elements.java File compiler/java/com/google/dart/compiler/resolver/Elements.java (right): http://codereview.chromium.org/9168020/diff/1/compiler/java/com/google/dart/compiler/resolver/Elements.java#newcode543 compiler/java/com/google/dart/compiler/resolver/Elements.java:543: return element != null && element.getParameters().isEmpty(); Nit: double ...
8 years, 11 months ago (2012-01-11 14:39:47 UTC) #2
codefu
http://codereview.chromium.org/9168020/diff/1/compiler/java/com/google/dart/compiler/resolver/Elements.java File compiler/java/com/google/dart/compiler/resolver/Elements.java (right): http://codereview.chromium.org/9168020/diff/1/compiler/java/com/google/dart/compiler/resolver/Elements.java#newcode543 compiler/java/com/google/dart/compiler/resolver/Elements.java:543: return element != null && element.getParameters().isEmpty(); On 2012/01/11 14:39:47, ...
8 years, 11 months ago (2012-01-11 16:02:46 UTC) #3
zundel
8 years, 11 months ago (2012-01-12 12:51:49 UTC) #4
lgtm2

Powered by Google App Engine