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

Unified Diff: pkg/front_end/lib/src/fasta/target_implementation.dart

Issue 2828693003: Add local type inference logic for integer literals. (Closed)
Patch Set: Sort declarations Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/target_implementation.dart
diff --git a/pkg/front_end/lib/src/fasta/target_implementation.dart b/pkg/front_end/lib/src/fasta/target_implementation.dart
index d702e6e7473b41879e437a776ef016c0f0500046..e29750795cacb95e706f4dd86fba0d5974ed8f2d 100644
--- a/pkg/front_end/lib/src/fasta/target_implementation.dart
+++ b/pkg/front_end/lib/src/fasta/target_implementation.dart
@@ -19,11 +19,13 @@ import 'translate_uri.dart' show TranslateUri;
/// Provides the implementation details used by a loader for a target.
abstract class TargetImplementation extends Target {
final TranslateUri uriTranslator;
+ final bool strongMode;
ahe 2017/04/20 08:36:42 Why is this needed?
Paul Berry 2017/04/20 08:55:29 Moved to KernelTarget, as we discussed.
Builder cachedCompileTimeError;
Builder cachedAbstractClassInstantiationError;
Builder cachedNativeAnnotation;
- TargetImplementation(Ticker ticker, this.uriTranslator) : super(ticker);
+ TargetImplementation(Ticker ticker, this.uriTranslator, this.strongMode)
+ : super(ticker);
/// Creates a [LibraryBuilder] corresponding to [uri], if one doesn't exist
/// already.

Powered by Google App Engine
This is Rietveld 408576698