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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart

Issue 12051056: Allow native classes to mixin behavior from an ordinary Dart class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comments. Created 7 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: sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
index e9198f3e54fa1f90a83881485bcce50fb608fb22..43458619d6e5f3c5f85fa9be475aa28b6c14bc58 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
@@ -101,7 +101,7 @@ function(cls, desc) {
}
var hasOwnProperty = Object.prototype.hasOwnProperty;
for (var method in desc) {
- if (method) { """/* Short version of: if (method != '') */"""
+ if (method) {
kasperl 2013/01/24 11:06:54 I removed this comment because the newline after t
if (hasOwnProperty.call(desc, method)) {
$dynamicName(method)[cls] = desc[method];
}

Powered by Google App Engine
This is Rietveld 408576698