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

Issue 10066020: prevent cached DartUnit from being referenced and resolved by multiple libraries (Closed)

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

Description

prevent cached DartUnit from being referenced and resolved by multiple libraries Committed: https://code.google.com/p/dart/source/detail?r=6470

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M compiler/java/com/google/dart/compiler/DartCompiler.java View 2 chunks +5 lines, -2 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
danrubel
8 years, 8 months ago (2012-04-12 18:58:46 UTC) #1
zundel
https://chromiumcodereview.appspot.com/10066020/diff/1/compiler/java/com/google/dart/compiler/DartCompiler.java File compiler/java/com/google/dart/compiler/DartCompiler.java (right): https://chromiumcodereview.appspot.com/10066020/diff/1/compiler/java/com/google/dart/compiler/DartCompiler.java#newcode886 compiler/java/com/google/dart/compiler/DartCompiler.java:886: DartUnit parsedUnit = parsedUnits.remove(srcUri); couldn't you just not parse ...
8 years, 8 months ago (2012-04-12 19:00:34 UTC) #2
danrubel
https://chromiumcodereview.appspot.com/10066020/diff/1/compiler/java/com/google/dart/compiler/DartCompiler.java File compiler/java/com/google/dart/compiler/DartCompiler.java (right): https://chromiumcodereview.appspot.com/10066020/diff/1/compiler/java/com/google/dart/compiler/DartCompiler.java#newcode886 compiler/java/com/google/dart/compiler/DartCompiler.java:886: DartUnit parsedUnit = parsedUnits.remove(srcUri); On 2012/04/12 19:00:34, zundel wrote: ...
8 years, 8 months ago (2012-04-12 19:17:44 UTC) #3
scheglov
LGTM
8 years, 8 months ago (2012-04-12 19:21:40 UTC) #4
zundel
8 years, 8 months ago (2012-04-12 19:24:54 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698