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

Unified Diff: pkg/compiler/lib/src/kernel/element_map.dart

Issue 2908253003: Handle null literal in compile_from_dill (Closed)
Patch Set: Created 3 years, 7 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/compiler/lib/src/kernel/element_map.dart
diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart
index 254048cb2af064e1669e8f2fba3ec84001cdaa7b..49ba84766bf1fbb4db0287c576c675dadd9afcbf 100644
--- a/pkg/compiler/lib/src/kernel/element_map.dart
+++ b/pkg/compiler/lib/src/kernel/element_map.dart
@@ -33,6 +33,9 @@ abstract class KernelToElementMap {
/// Returns the [DartType] corresponding to [type].
DartType getDartType(ir.DartType type);
+ /// Returns the [FunctionType] of the [node].
+ FunctionType getFunctionType(ir.FunctionNode node);
+
/// Returns the list of [DartType]s corresponding to [types].
List<DartType> getDartTypes(List<ir.DartType> types);
@@ -165,7 +168,6 @@ enum ForeignKind {
abstract class KernelToElementMapMixin implements KernelToElementMap {
DiagnosticReporter get reporter;
- FunctionType getFunctionType(ir.FunctionNode node);
native.BehaviorBuilder get nativeBehaviorBuilder;
ConstantValue computeConstantValue(ConstantExpression constant);

Powered by Google App Engine
This is Rietveld 408576698