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/dev_compiler/lib/src/compiler/code_generator.dart

Issue 2949123002: Fix mocked operator methods (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | tests/lib_strong/html/html_mock_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/src/compiler/code_generator.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/code_generator.dart b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
index 8196d085728cdc567bee6545a1f2287fa3554b7f..2896c7aab3125bd45c31303d678a205076ff3844 100644
--- a/pkg/dev_compiler/lib/src/compiler/code_generator.dart
+++ b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
@@ -1530,7 +1530,7 @@ class CodeGenerator extends Object
var fnBody =
js.call('this.noSuchMethod(new #.InvocationImpl.new(#, #, #))', [
_runtimeModule,
- _declareMemberName(method, useDisplayName: true),
+ _declareMemberName(method, useDisplayName: false),
Jennifer Messerly 2017/06/22 20:26:31 fyi ... useDisplayName defaults to false and does
positionalArgs,
new JS.ObjectInitializer(invocationProps)
]);
« no previous file with comments | « no previous file | tests/lib_strong/html/html_mock_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698