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

Issue 23641006: Enable type inference when using mirrors. (Closed)

Created:
7 years, 3 months ago by karlklose
Modified:
7 years, 3 months ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -4 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 chunk +1 line, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 1 chunk +3 lines, -0 lines 1 comment Download
A tests/compiler/dart2js_extra/mirror_type_inference_field_test.dart View 1 chunk +20 lines, -0 lines 0 comments Download
A tests/compiler/dart2js_extra/mirror_type_inference_function_test.dart View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
karlklose
7 years, 3 months ago (2013-08-30 14:02:23 UTC) #1
ngeoffray
LGTM!
7 years, 3 months ago (2013-08-30 14:34:47 UTC) #2
karlklose
Committed patchset #1 manually as r26922 (presubmit successful).
7 years, 3 months ago (2013-08-30 15:51:15 UTC) #3
ngeoffray
7 years, 3 months ago (2013-09-01 12:04:34 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/23641006/diff/1/sdk/lib/_internal/compiler/im...
File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
(right):

https://codereview.chromium.org/23641006/diff/1/sdk/lib/_internal/compiler/im...
sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:298:
if (element.isField() && compiler.backend.isNeededForReflection(element)) {
After commit comments: this does not belong here, but should be covered by the
canBeUsedForGlobalOptimizations. I have a CL for fixing this.

Powered by Google App Engine
This is Rietveld 408576698