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

Issue 10828323: Temporary workaround to process default clauses. (Closed)

Created:
8 years, 4 months ago by Anton Muhin
Modified:
8 years, 4 months ago
Reviewers:
Roman
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Temporary workaround to process default clauses. It's ugly and hacky, but all this stuff should go away with interfaces and default clauses. R=smok@google.com Committed: https://code.google.com/p/dart/source/detail?r=10738

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M lib/compiler/implementation/dart_backend/backend.dart View 1 chunk +12 lines, -0 lines 2 comments Download
M tests/language/language.status View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Anton Muhin
8 years, 4 months ago (2012-08-15 14:49:57 UTC) #1
Roman
lgtm https://chromiumcodereview.appspot.com/10828323/diff/1/lib/compiler/implementation/dart_backend/backend.dart File lib/compiler/implementation/dart_backend/backend.dart (right): https://chromiumcodereview.appspot.com/10828323/diff/1/lib/compiler/implementation/dart_backend/backend.dart#newcode156 lib/compiler/implementation/dart_backend/backend.dart:156: TypeAnnotation evilCousine = new TypeAnnotation( What a hack!
8 years, 4 months ago (2012-08-15 14:52:22 UTC) #2
Anton Muhin
8 years, 4 months ago (2012-08-15 15:11:34 UTC) #3
https://chromiumcodereview.appspot.com/10828323/diff/1/lib/compiler/implement...
File lib/compiler/implementation/dart_backend/backend.dart (right):

https://chromiumcodereview.appspot.com/10828323/diff/1/lib/compiler/implement...
lib/compiler/implementation/dart_backend/backend.dart:156: TypeAnnotation
evilCousine = new TypeAnnotation(
Yes, we can!

On 2012/08/15 14:52:22, Roman wrote:
> What a hack!

Powered by Google App Engine
This is Rietveld 408576698