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

Issue 2848083002: Implement Dart 1.0 LUB algorithm (for interface types) in kernel. (Closed)

Created:
3 years, 7 months ago by Paul Berry
Modified:
3 years, 7 months ago
CC:
reviews_dartlang.org, asgerf
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Implement Dart 1.0 LUB algorithm (for interface types) in kernel. Note: I intend to implement the full LUB algorithm (including strong mode behaviors) in front_end, however this piece of the algorithm makes sense to be in kernel so that it can take advantage of _ClassInfo. R=ahe@google.com, johnniwinther@google.com Committed: https://github.com/dart-lang/sdk/commit/29570728a3fa91f43f9805b30cca8294fe579227

Patch Set 1 #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+575 lines, -5 lines) Patch
M pkg/kernel/lib/class_hierarchy.dart View 7 chunks +181 lines, -5 lines 4 comments Download
A pkg/kernel/lib/heap.dart View 1 chunk +62 lines, -0 lines 2 comments Download
A pkg/kernel/lib/testing/mock_sdk_program.dart View 1 chunk +66 lines, -0 lines 0 comments Download
A pkg/kernel/test/heap_test.dart View 1 chunk +26 lines, -0 lines 2 comments Download
A pkg/kernel/test/lub_test.dart View 1 chunk +240 lines, -0 lines 2 comments Download

Messages

Total messages: 8 (2 generated)
Paul Berry
3 years, 7 months ago (2017-04-28 21:46:10 UTC) #2
Paul Berry
Friendly ping. I'd love to be able to land this during my workday today.
3 years, 7 months ago (2017-05-01 12:35:15 UTC) #3
Johnni Winther
Algorithm lgtm with respect to the spec. Await full review from ahe@.
3 years, 7 months ago (2017-05-01 13:42:27 UTC) #4
ahe
lgtm https://codereview.chromium.org/2848083002/diff/1/pkg/kernel/lib/class_hierarchy.dart File pkg/kernel/lib/class_hierarchy.dart (right): https://codereview.chromium.org/2848083002/diff/1/pkg/kernel/lib/class_hierarchy.dart#newcode76 pkg/kernel/lib/class_hierarchy.dart:76: List<Class> getLeastUpperBoundClasses(Class class_) { Consider renaming to something ...
3 years, 7 months ago (2017-05-01 16:50:34 UTC) #5
Paul Berry
https://codereview.chromium.org/2848083002/diff/1/pkg/kernel/lib/class_hierarchy.dart File pkg/kernel/lib/class_hierarchy.dart (right): https://codereview.chromium.org/2848083002/diff/1/pkg/kernel/lib/class_hierarchy.dart#newcode76 pkg/kernel/lib/class_hierarchy.dart:76: List<Class> getLeastUpperBoundClasses(Class class_) { On 2017/05/01 16:50:34, ahe wrote: ...
3 years, 7 months ago (2017-05-01 18:12:14 UTC) #6
Paul Berry
3 years, 7 months ago (2017-05-01 18:25:52 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
29570728a3fa91f43f9805b30cca8294fe579227 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698