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

Issue 9874019: Fix for tooltips for fields not returning their types (just their name). (Closed)

Created:
8 years, 9 months ago by devoncarew
Modified:
8 years, 9 months ago
Reviewers:
zundel, Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix for tooltips for fields not returning their types (just their name). Committed: https://code.google.com/p/dart/source/detail?r=5958

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M compiler/java/com/google/dart/compiler/ast/DartComment.java View 1 1 chunk +1 line, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/ast/DartUnit.java View 1 1 chunk +1 line, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/CompileTimeConstantAnalyzer.java View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
devoncarew
This is a partial fix for field tooltips not showing their type ("foo" instead of ...
8 years, 9 months ago (2012-03-28 14:41:00 UTC) #1
Brian Wilkerson
LGTM
8 years, 9 months ago (2012-03-28 14:46:22 UTC) #2
zundel
http://codereview.chromium.org/9874019/diff/1/compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java File compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java (right): http://codereview.chromium.org/9874019/diff/1/compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java#newcode38 compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java:38: public Type getType() { Would it work to use: ...
8 years, 9 months ago (2012-03-28 15:48:39 UTC) #3
devoncarew
http://codereview.chromium.org/9874019/diff/1/compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java File compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java (right): http://codereview.chromium.org/9874019/diff/1/compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java#newcode38 compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java:38: public Type getType() { On 2012/03/28 15:48:39, zundel wrote: ...
8 years, 9 months ago (2012-03-28 20:10:35 UTC) #4
zundel
http://codereview.chromium.org/9874019/diff/1/compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java File compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java (right): http://codereview.chromium.org/9874019/diff/1/compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java#newcode38 compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java:38: public Type getType() { On 2012/03/28 20:10:35, devoncarew wrote: ...
8 years, 9 months ago (2012-03-28 22:19:43 UTC) #5
devoncarew
8 years, 9 months ago (2012-03-28 22:25:35 UTC) #6
http://codereview.chromium.org/9874019/diff/1/compiler/java/com/google/dart/c...
File compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java
(right):

http://codereview.chromium.org/9874019/diff/1/compiler/java/com/google/dart/c...
compiler/java/com/google/dart/compiler/ast/DartFieldDefinition.java:38: public
Type getType() {
Ah, ok. I'll back this change out.

Brian and tracked down the tooltip issue, in some code that converts the ASTs
into our light-weight model. I'll land what remains of this CL anyway, to clean
up some compilation warnings.

Powered by Google App Engine
This is Rietveld 408576698