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

Side by Side Diff: frog/member_set.dart

Issue 9656003: Fix for issue with incorrectly renamed private names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: x Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « frog/library.dart ('k') | frog/minfrog » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class MemberSet { 5 class MemberSet {
6 final String name; 6 final String name;
7 final List<Member> members; 7 final List<Member> members;
8 final bool isVar; 8 final bool isVar;
9 String jsname; 9 String jsname;
10 bool jsnameUnique = false;
11 10
12 bool _treatAsField; 11 bool _treatAsField;
13 Type _returnTypeForGet; 12 Type _returnTypeForGet;
14 bool _preparedForSet = false; 13 bool _preparedForSet = false;
15 List<InvokeKey> _invokes; 14 List<InvokeKey> _invokes;
16 15
17 MemberSet(Member member, [bool isVar=false]): 16 MemberSet(Member member, [bool isVar=false]):
18 name = member.name, members = [member], jsname = member.jsname, 17 name = member.name, members = [member], jsname = member.jsname,
19 isVar = isVar; 18 isVar = isVar;
20 19
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 returnType = world.varType; 290 returnType = world.varType;
292 } 291 }
293 } 292 }
294 } 293 }
295 if (returnType == null) { 294 if (returnType == null) {
296 // TODO(jimhug): Warning here for no match anywhere in the world? 295 // TODO(jimhug): Warning here for no match anywhere in the world?
297 returnType = world.varType; 296 returnType = world.varType;
298 } 297 }
299 } 298 }
300 } 299 }
OLDNEW
« no previous file with comments | « frog/library.dart ('k') | frog/minfrog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698