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

Unified Diff: lib/compiler/implementation/js_backend/emitter.dart

Issue 11052011: Fix some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 2 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: lib/compiler/implementation/js_backend/emitter.dart
diff --git a/lib/compiler/implementation/js_backend/emitter.dart b/lib/compiler/implementation/js_backend/emitter.dart
index 9db01dd78afbc5c933e940c9251dacf21c614b0b..3a1d7c90898af0540d6f7d1848aa5e0f6f9194e0 100644
--- a/lib/compiler/implementation/js_backend/emitter.dart
+++ b/lib/compiler/implementation/js_backend/emitter.dart
@@ -552,7 +552,7 @@ function(prototype, staticName, fieldName, getterName, lazyValue) {
return null;
} else {
SourceString helper = compiler.backend.getCheckedModeHelper(type);
- Element helperElement = compiler.findHelper(helper);
+ FunctionElement helperElement = compiler.findHelper(helper);
String helperName = namer.isolateAccess(helperElement);
String additionalArgument = '';
if (helperElement.computeSignature(compiler).parameterCount != 1) {
@@ -670,7 +670,7 @@ function(prototype, staticName, fieldName, getterName, lazyValue) {
}
});
- generateIsTestsOn(classElement, (Element other) {
+ generateIsTestsOn(classElement, (ClassElement other) {
String code;
if (other.isObject(compiler)) return;
if (nativeEmitter.requiresNativeIsCheck(other)) {
« no previous file with comments | « lib/compiler/implementation/js_backend/backend.dart ('k') | lib/compiler/implementation/resolved_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698