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

Issue 1962823002: fix #552, Object members on native types (Closed)

Created:
4 years, 7 months ago by Jennifer Messerly
Modified:
4 years, 7 months ago
Reviewers:
vsm, Leaf
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix #552, Object members on native types We initially hard coded a few of these. That worked until native_typed_data and html were added. Those two libraries have a lot of native types. This also fixes TypeRep to extend dart:core Object, and fixes the dart:_runtime so we can write Dart classes. Cleans up a few of the JS builtins as well. R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/e5c92d956ad307226e96825d0b2a717ab8004241

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -1216 lines) Patch
M .gitignore View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M lib/runtime/dart_sdk.js View 1 2 3 57 chunks +434 lines, -413 lines 0 comments Download
M lib/src/compiler/code_generator.dart View 1 2 3 20 chunks +58 lines, -53 lines 0 comments Download
M lib/src/compiler/nullable_type_inference.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/browser/language_tests.js View 1 2 3 4 chunks +10 lines, -2 lines 0 comments Download
A test/codegen/corelib/type_hashcode_test.dart View 1 chunk +11 lines, -0 lines 0 comments Download
D test/codegen/lib/convert/base64_test_01_multi.dart View 1 2 3 1 chunk +0 lines, -288 lines 0 comments Download
D test/codegen/lib/convert/base64_test_none_multi.dart View 1 2 3 1 chunk +0 lines, -288 lines 0 comments Download
M tool/input_sdk/patch/core_patch.dart View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M tool/input_sdk/private/ddc_runtime/classes.dart View 3 chunks +35 lines, -13 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/generators.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/operations.dart View 1 2 3 4 chunks +58 lines, -37 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/rtti.dart View 3 chunks +31 lines, -42 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/types.dart View 1 2 3 14 chunks +49 lines, -69 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/utils.dart View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Jennifer Messerly
4 years, 7 months ago (2016-05-09 19:18:17 UTC) #3
vsm
lgtm https://codereview.chromium.org/1962823002/diff/1/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/1962823002/diff/1/lib/src/compiler/code_generator.dart#newcode340 lib/src/compiler/code_generator.dart:340: } else { Is it worth skipping items ...
4 years, 7 months ago (2016-05-09 20:55:56 UTC) #4
Jennifer Messerly
Thanks. Let me know what to do RE: noSuchMethod https://codereview.chromium.org/1962823002/diff/1/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/1962823002/diff/1/lib/src/compiler/code_generator.dart#newcode340 lib/src/compiler/code_generator.dart:340: ...
4 years, 7 months ago (2016-05-10 00:33:57 UTC) #5
vsm
lgtm
4 years, 7 months ago (2016-05-10 00:36:36 UTC) #6
Leaf
https://codereview.chromium.org/1962823002/diff/20001/lib/runtime/dart_sdk.js File lib/runtime/dart_sdk.js (right): https://codereview.chromium.org/1962823002/diff/20001/lib/runtime/dart_sdk.js#newcode733 lib/runtime/dart_sdk.js:733: + if (dart.notNull(dart.as(dart.isFunctionType(type), core.bool))) return type; The boolean conversion ...
4 years, 7 months ago (2016-05-10 02:16:46 UTC) #8
Jennifer Messerly
https://codereview.chromium.org/1962823002/diff/20001/lib/runtime/dart_sdk.js File lib/runtime/dart_sdk.js (right): https://codereview.chromium.org/1962823002/diff/20001/lib/runtime/dart_sdk.js#newcode733 lib/runtime/dart_sdk.js:733: + if (dart.notNull(dart.as(dart.isFunctionType(type), core.bool))) return type; On 2016/05/10 02:16:46, ...
4 years, 7 months ago (2016-05-10 17:26:39 UTC) #9
Jennifer Messerly
4 years, 7 months ago (2016-05-10 18:35:45 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
e5c92d956ad307226e96825d0b2a717ab8004241 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698