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

Side by Side Diff: pkg/analyzer/lib/src/summary/format.dart

Issue 1713083002: Fix inconsistency with LinkedReference.numTypeParameters (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/idl.dart » ('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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files".
7 7
8 library analyzer.src.summary.format; 8 library analyzer.src.summary.format;
9 9
10 import 'flat_buffers.dart' as fb; 10 import 'flat_buffers.dart' as fb;
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 void set name(String _value) { 863 void set name(String _value) {
864 assert(!_finished); 864 assert(!_finished);
865 _name = _value; 865 _name = _value;
866 } 866 }
867 867
868 @override 868 @override
869 int get numTypeParameters => _numTypeParameters ??= 0; 869 int get numTypeParameters => _numTypeParameters ??= 0;
870 870
871 /** 871 /**
872 * If the entity being referred to is generic, the number of type parameters 872 * If the entity being referred to is generic, the number of type parameters
873 * it accepts. Otherwise zero. 873 * it declares (does not include type parameters of enclosing entities).
874 * Otherwise zero.
874 */ 875 */
875 void set numTypeParameters(int _value) { 876 void set numTypeParameters(int _value) {
876 assert(!_finished); 877 assert(!_finished);
877 assert(_value == null || _value >= 0); 878 assert(_value == null || _value >= 0);
878 _numTypeParameters = _value; 879 _numTypeParameters = _value;
879 } 880 }
880 881
881 @override 882 @override
882 int get unit => _unit ??= 0; 883 int get unit => _unit ??= 0;
883 884
(...skipping 5436 matching lines...) Expand 10 before | Expand all | Expand 10 after
6320 "propagatedTypeSlot": propagatedTypeSlot, 6321 "propagatedTypeSlot": propagatedTypeSlot,
6321 "type": type, 6322 "type": type,
6322 "visibleLength": visibleLength, 6323 "visibleLength": visibleLength,
6323 "visibleOffset": visibleOffset, 6324 "visibleOffset": visibleOffset,
6324 }; 6325 };
6325 6326
6326 @override 6327 @override
6327 String toString() => convert.JSON.encode(toJson()); 6328 String toString() => convert.JSON.encode(toJson());
6328 } 6329 }
6329 6330
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/idl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698