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

Issue 11644061: Fixing a bunch of dartc errors in dart:html tests. (Closed)

Created:
8 years ago by blois
Modified:
8 years ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fixing a bunch of dartc errors in dart:html tests. BUG= Committed: https://code.google.com/p/dart/source/detail?r=16413

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -33 lines) Patch
M pkg/unittest/lib/html_individual_config.dart View 2 chunks +5 lines, -6 lines 0 comments Download
M tests/html/documentfragment_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/element_add_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/element_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/html.status View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
M tests/html/htmlelement_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/node_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/html/util.dart View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
blois
8 years ago (2012-12-21 00:15:28 UTC) #1
Emily Fortuna
static analysis! It's useful! :-) https://codereview.chromium.org/11644061/diff/2001/tests/html/html.status File tests/html/html.status (left): https://codereview.chromium.org/11644061/diff/2001/tests/html/html.status#oldcode289 tests/html/html.status:289: [ $compiler == dartc ...
8 years ago (2012-12-21 00:44:18 UTC) #2
blois
https://codereview.chromium.org/11644061/diff/2001/tests/html/html.status File tests/html/html.status (right): https://codereview.chromium.org/11644061/diff/2001/tests/html/html.status#newcode287 tests/html/html.status:287: [ $compiler == dartc ] On 2012/12/21 00:44:18, Emily ...
8 years ago (2012-12-21 01:05:42 UTC) #3
Emily Fortuna
lgtm https://codereview.chromium.org/11644061/diff/2001/tests/html/htmlelement_test.dart File tests/html/htmlelement_test.dart (left): https://codereview.chromium.org/11644061/diff/2001/tests/html/htmlelement_test.dart#oldcode64 tests/html/htmlelement_test.dart:64: div.dataAttributes.forEach(void f(String key, String value) { On 2012/12/21 ...
8 years ago (2012-12-21 01:07:31 UTC) #4
blois
8 years ago (2012-12-21 01:13:16 UTC) #5
https://codereview.chromium.org/11644061/diff/2001/tests/html/htmlelement_tes...
File tests/html/htmlelement_test.dart (left):

https://codereview.chromium.org/11644061/diff/2001/tests/html/htmlelement_tes...
tests/html/htmlelement_test.dart:64: div.dataAttributes.forEach(void f(String
key, String value) {
On 2012/12/21 01:07:31, Emily Fortuna wrote:
> On 2012/12/21 01:05:42, blois wrote:
> > On 2012/12/21 00:44:18, Emily Fortuna wrote:
> > > I thought this was supported? no longer?
> > 
> > It's supported, just needed to remove the return value and function name.
> 
> Oh okay. I thought for some reason that the vm and dart2js supported actually 
> having the return value and function name, just not dart2js.

Dartc was saying it's deprecated, but I don't know other than that. 

Removing them allows it to pass, so seems like a good thing :)

Powered by Google App Engine
This is Rietveld 408576698