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

Issue 1317933005: Some preliminary support for quasi-generics (Closed)

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

Description

Some preliminary support for quasi-generics This just expands John's earlier hack on min/max. No downward inference, etc, but it captures some simple cases. Worthwhile? Testing whether this makes much of a difference on our larger code bases. R=jmesserly@google.com, leafp@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/4921c78b68037c5b25a8e2ed6a8d7c484d5f52bf

Patch Set 1 #

Patch Set 2 : Reformat #

Total comments: 2

Patch Set 3 : Address comments #

Total comments: 1

Patch Set 4 : Regen runtime files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -56 lines) Patch
D lib/runtime/dart/convert.js View 3 1 chunk +2 lines, -2 lines 0 comments Download
D lib/runtime/dart/isolate.js View 3 2 chunks +2 lines, -2 lines 0 comments Download
M lib/src/checker/resolver.dart View 1 2 3 2 chunks +74 lines, -10 lines 0 comments Download
M lib/src/dart_sdk.dart View 3 2 chunks +6 lines, -2 lines 0 comments Download
M test/checker/checker_test.dart View 3 1 chunk +0 lines, -35 lines 0 comments Download
M test/checker/inferred_type_test.dart View 3 1 chunk +52 lines, -0 lines 0 comments Download
M test/codegen/expect/unittest.txt View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M tool/sdk_expected_errors.txt View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
vsm
5 years, 3 months ago (2015-08-27 23:02:05 UTC) #2
Leaf
This basically lgtm. One hesitation is that you are doing bottom up inference. I would ...
5 years, 3 months ago (2015-08-28 01:05:38 UTC) #3
vsm
Thanks - if you've got some time, let's chat about this today. I'm collecting some ...
5 years, 3 months ago (2015-08-28 15:48:50 UTC) #4
Jennifer Messerly
looks like SDK failed to generate? otherwise LGTM! https://codereview.chromium.org/1317933005/diff/40001/lib/src/checker/resolver.dart File lib/src/checker/resolver.dart (right): https://codereview.chromium.org/1317933005/diff/40001/lib/src/checker/resolver.dart#newcode746 lib/src/checker/resolver.dart:746: // ...
5 years, 3 months ago (2015-08-28 21:49:07 UTC) #5
vsm
On 2015/08/28 21:49:07, John Messerly wrote: > looks like SDK failed to generate? Doh! Thanks, ...
5 years, 3 months ago (2015-08-28 21:55:20 UTC) #6
vsm
5 years, 3 months ago (2015-08-31 16:56:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:50001) manually as
4921c78b68037c5b25a8e2ed6a8d7c484d5f52bf (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698