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

Issue 24212005: Get rid of returnTypeOfElement (abstract) and typeOfElementWithSelector (concrete method assuming t… (Closed)

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

Description

Get rid of returnTypeOfElement (abstract) and typeOfElementWithSelector (concrete method assuming the existence of returnTypeOfElement) in InferrerEngine. Since typeOfElementWithSelector is used in several inferrers (InternalSimpleTypesInferrer and TypeGraphInferrerEngine), move the two methods in a new SimpleInferrerEngine class and use it in lieu of InferrerEngine where necessary. Modify SimpleTypeInferrerVisitor to use the return type of registerCalledElement whenever returnTypeOfElement was used.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -51 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 5 chunks +60 lines, -47 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/type_graph_inferrer.dart View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
polux
7 years, 3 months ago (2013-09-20 14:12:26 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698