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 10879003: Const variables handled as final (Closed)

Created:
8 years, 4 months ago by Johnni Winther
Modified:
8 years, 4 months ago
Reviewers:
ahe, ngeoffray, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Const variables handled as final Committed: https://code.google.com/p/dart/source/detail?r=11170

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Comment shortened #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -25 lines) Patch
M lib/compiler/implementation/compile_time_constants.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M lib/compiler/implementation/elements/elements.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/js_backend/emitter.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/tree/nodes.dart View 1 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/dartdoc/mirrors/dart2js_mirror.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 1 chunk +1 line, -4 lines 1 comment Download
M tests/language/language_dart2js.status View 1 1 chunk +0 lines, -18 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Johnni Winther
8 years, 4 months ago (2012-08-22 14:00:19 UTC) #1
ahe
+ngeoffray
8 years, 4 months ago (2012-08-22 14:03:59 UTC) #2
ahe
LGTM! https://chromiumcodereview.appspot.com/10879003/diff/2001/lib/compiler/implementation/tree/nodes.dart File lib/compiler/implementation/tree/nodes.dart (right): https://chromiumcodereview.appspot.com/10879003/diff/2001/lib/compiler/implementation/tree/nodes.dart#newcode1141 lib/compiler/implementation/tree/nodes.dart:1141: * Returns [:true:] iff the modifiers contain either ...
8 years, 4 months ago (2012-08-22 14:07:46 UTC) #3
Johnni Winther
https://chromiumcodereview.appspot.com/10879003/diff/2001/lib/compiler/implementation/tree/nodes.dart File lib/compiler/implementation/tree/nodes.dart (right): https://chromiumcodereview.appspot.com/10879003/diff/2001/lib/compiler/implementation/tree/nodes.dart#newcode1141 lib/compiler/implementation/tree/nodes.dart:1141: * Returns [:true:] iff the modifiers contain either [:final:] ...
8 years, 4 months ago (2012-08-22 14:23:20 UTC) #4
ngeoffray
LGTM https://chromiumcodereview.appspot.com/10879003/diff/2001/pkg/dartdoc/mirrors/dart2js_mirror.dart File pkg/dartdoc/mirrors/dart2js_mirror.dart (right): https://chromiumcodereview.appspot.com/10879003/diff/2001/pkg/dartdoc/mirrors/dart2js_mirror.dart#newcode1359 pkg/dartdoc/mirrors/dart2js_mirror.dart:1359: // TODO(johnniwinther): Should this return true on const ...
8 years, 4 months ago (2012-08-22 14:24:23 UTC) #5
Johnni Winther
https://chromiumcodereview.appspot.com/10879003/diff/2001/pkg/dartdoc/mirrors/dart2js_mirror.dart File pkg/dartdoc/mirrors/dart2js_mirror.dart (right): https://chromiumcodereview.appspot.com/10879003/diff/2001/pkg/dartdoc/mirrors/dart2js_mirror.dart#newcode1359 pkg/dartdoc/mirrors/dart2js_mirror.dart:1359: // TODO(johnniwinther): Should this return true on const as ...
8 years, 4 months ago (2012-08-22 16:13:16 UTC) #6
ahe
8 years, 4 months ago (2012-08-22 17:13:05 UTC) #7
This explains the build bot redness. All is well. I'll commit a status file
change.

https://chromiumcodereview.appspot.com/10879003/diff/6002/tests/co19/co19-dar...
File tests/co19/co19-dart2js.status (left):

https://chromiumcodereview.appspot.com/10879003/diff/6002/tests/co19/co19-dar...
tests/co19/co19-dart2js.status:145: Language/05_Variables/05_Variables_A05_t03:
Fail # Compile-time error: error: not a compile-time constant
Just as you thought you fixed this test, Mads broke it again :-)

Powered by Google App Engine
This is Rietveld 408576698