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

Unified Diff: pkg/compiler/lib/src/js_emitter/native_emitter.dart

Issue 2603263002: Prefix resolution_types with Resolution. (Closed)
Patch Set: Rebased Created 3 years, 11 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/js_emitter/native_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/native_emitter.dart b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
index 1f3980298ed9c105b9657c53fae312570053c5e3..b782831ba9d004f83e184455571c150292c29c83 100644
--- a/pkg/compiler/lib/src/js_emitter/native_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
@@ -264,11 +264,11 @@ class NativeEmitter {
// parameter that was not provided for this stub.
for (jsAst.Parameter stubParameter in stubParameters) {
if (stubParameter.name == name) {
- DartType type = parameter.type.unaliased;
- if (type is FunctionType) {
+ ResolutionDartType type = parameter.type.unaliased;
+ if (type is ResolutionFunctionType) {
// The parameter type is a function type either directly or through
// typedef(s).
- FunctionType functionType = type;
+ ResolutionFunctionType functionType = type;
int arity = functionType.computeArity();
statements.add(js
.statement('# = #(#, $arity)', [name, closureConverter, name]));

Powered by Google App Engine
This is Rietveld 408576698