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

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

Issue 2028713003: Fix AST-based type inference with explicit type parameters for method calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 unified diff | Download patch
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 8
9 /** 9 /**
10 * Kind of a source in the cache. 10 * Kind of a source in the cache.
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 extractIndex, 554 extractIndex,
555 555
556 /** 556 /**
557 * Pop the top `n` values from the stack (where `n` is obtained from 557 * Pop the top `n` values from the stack (where `n` is obtained from
558 * [UnlinkedConst.ints]) into a list (filled from the end) and take the next 558 * [UnlinkedConst.ints]) into a list (filled from the end) and take the next
559 * `n` values from [UnlinkedConst.strings] and use the lists of names and 559 * `n` values from [UnlinkedConst.strings] and use the lists of names and
560 * values to create named arguments. Then pop the top `m` values from the 560 * values to create named arguments. Then pop the top `m` values from the
561 * stack (where `m` is obtained from [UnlinkedConst.ints]) into a list (filled 561 * stack (where `m` is obtained from [UnlinkedConst.ints]) into a list (filled
562 * from the end) and use them as positional arguments. Use the lists of 562 * from the end) and use them as positional arguments. Use the lists of
563 * positional and names arguments to invoke a method (or a function) with 563 * positional and names arguments to invoke a method (or a function) with
564 * the reference from [UnlinkedConst.references]. Push the result of 564 * the reference from [UnlinkedConst.references]. If `l` is nonzero (where
565 * invocation value into the stack. 565 * `l` is obtained from [UnlinkedConst.ints]), obtain `l` type arguments from
566 * [UnlinkedConst.references] and use them as generic type arguments for the
567 * aforementioned method or function. Push the result of the invocation onto
568 * the stack.
566 * 569 *
567 * In general `a.b` cannot not be distinguished between: `a` is a prefix and 570 * In general `a.b` cannot not be distinguished between: `a` is a prefix and
568 * `b` is a top-level function; or `a` is an object and `b` is the name of a 571 * `b` is a top-level function; or `a` is an object and `b` is the name of a
569 * method. This operation should be used for a sequence of identifiers 572 * method. This operation should be used for a sequence of identifiers
570 * `a.b.b.c.d.e` ending with an invokable result. 573 * `a.b.b.c.d.e` ending with an invokable result.
571 */ 574 */
572 invokeMethodRef, 575 invokeMethodRef,
573 576
574 /** 577 /**
575 * Pop the top `n` values from the stack (where `n` is obtained from 578 * Pop the top `n` values from the stack (where `n` is obtained from
576 * [UnlinkedConst.ints]) into a list (filled from the end) and take the next 579 * [UnlinkedConst.ints]) into a list (filled from the end) and take the next
577 * `n` values from [UnlinkedConst.strings] and use the lists of names and 580 * `n` values from [UnlinkedConst.strings] and use the lists of names and
578 * values to create named arguments. Then pop the top `m` values from the 581 * values to create named arguments. Then pop the top `m` values from the
579 * stack (where `m` is obtained from [UnlinkedConst.ints]) into a list (filled 582 * stack (where `m` is obtained from [UnlinkedConst.ints]) into a list (filled
580 * from the end) and use them as positional arguments. Use the lists of 583 * from the end) and use them as positional arguments. Use the lists of
581 * positional and names arguments to invoke the method with the name from 584 * positional and names arguments to invoke the method with the name from
582 * [UnlinkedConst.strings] of the target popped from the stack, and push the 585 * [UnlinkedConst.strings] of the target popped from the stack. If `l` is
583 * resulting value into the stack. 586 * nonzero (where `l` is obtained from [UnlinkedConst.ints]), obtain `l` type
587 * arguments from [UnlinkedConst.references] and use them as generic type
588 * arguments for the aforementioned method. Push the result of the
589 * invocation onto the stack.
584 * 590 *
585 * This operation should be used for invocation of a method invocation 591 * This operation should be used for invocation of a method invocation
586 * where `target` is know to be an object instance. 592 * where `target` is known to be an object instance.
587 */ 593 */
588 invokeMethod, 594 invokeMethod,
589 595
590 /** 596 /**
591 * Begin a new cascade section. Duplicate the top value of the stack. 597 * Begin a new cascade section. Duplicate the top value of the stack.
592 */ 598 */
593 cascadeSectionBegin, 599 cascadeSectionBegin,
594 600
595 /** 601 /**
596 * End a new cascade section. Pop the top value from the stack and throw it 602 * End a new cascade section. Pop the top value from the stack and throw it
(...skipping 1772 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 2375
2370 /** 2376 /**
2371 * If a local variable, the beginning of the visible range; zero otherwise. 2377 * If a local variable, the beginning of the visible range; zero otherwise.
2372 */ 2378 */
2373 visibleOffset:uint (id: 12); 2379 visibleOffset:uint (id: 12);
2374 } 2380 }
2375 2381
2376 root_type PackageBundle; 2382 root_type PackageBundle;
2377 2383
2378 file_identifier "PBdl"; 2384 file_identifier "PBdl";
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/idl.dart » ('j') | pkg/analyzer/lib/src/summary/idl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698