Index: pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
index ddef40bd3004ae03c2ee89196530571ad7c70c1b..c41bfa9fa17aecdc4d62f5a2b5bb8312b5ac39b4 100644 |
--- a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
@@ -133,15 +133,15 @@ class RuntimeTypeGenerator { |
generateFunctionTypeSignature, generateSubstitution, generateTypeCheck); |
if (classElement == backend.helpers.jsJavaScriptFunctionClass) { |
- var type = backend.jsInteropAnalysis.buildJsFunctionType(); |
- if (type != null) { |
- jsAst.Expression thisAccess = new jsAst.This(); |
- RuntimeTypesEncoder rtiEncoder = backend.rtiEncoder; |
- jsAst.Expression encoding = |
- rtiEncoder.getSignatureEncoding(type, thisAccess); |
- jsAst.Name operatorSignature = namer.asName(namer.operatorSignature); |
- result.properties[operatorSignature] = encoding; |
- } |
+ var type = backend.jsInteropAnalysis.buildJsFunctionType(); |
Johnni Winther
2016/07/04 13:40:36
dartfmt
|
+ if (type != null) { |
+ jsAst.Expression thisAccess = new jsAst.This(); |
+ RuntimeTypesEncoder rtiEncoder = backend.rtiEncoder; |
+ jsAst.Expression encoding = |
+ rtiEncoder.getSignatureEncoding(type, thisAccess); |
+ jsAst.Name operatorSignature = namer.asName(namer.operatorSignature); |
+ result.properties[operatorSignature] = encoding; |
+ } |
} |
return result; |
} |