Paul Berry
b3ed442f70
Fix some unnecessary imports of front_end in analyzer
...
Change-Id: I9d45dffffafca7799055b3db165200c2a8454537
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123841
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-11-01 13:54:22 +00:00
Paul Berry
2ad5af1e13
Move resolve_relative_uri.dart into _fe_analyzer_shared
...
Change-Id: I2d9cc3988fd16ce1aabd6881c825d1917bb16848
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123861
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2019-11-01 13:54:22 +00:00
Paul Berry
c4b6df5009
Move ID testing infrastructure into _fe_analyzer_shared.
...
Change-Id: I9f2692dbe750f3c31f8c86e86fe732f34e166517
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123860
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-11-01 12:39:00 +00:00
Johnni Winther
00c2962db8
[cfe+analyzer] Move messages, scanner and parser to package:_fe_analyzer_shared
...
Change-Id: I4fa87aee65f30a9868a6cf8f0342591869ece7ea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123663
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2019-11-01 09:37:57 +00:00
Mike Fairhurst
924ec34e01
Remove analysis logger, replace with calls to InstrumentationService
...
Change-Id: Ifddd58b731aa0af8f76a91261757997dc52a9fc7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123328
Commit-Queue: Mike Fairhurst <mfairhurst@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-10-31 21:26:44 +00:00
Konstantin Shcheglov
09bc0cc5ab
Issue 38734. Don't report IMPLICIT_THIS_REFERENCE_IN_INITIALIZER for late fields.
...
Bug: https://github.com/dart-lang/sdk/issues/38734
Change-Id: If942d831cf4c64c873026cb2010406656d20565b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123688
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-31 21:20:11 +00:00
Konstantin Shcheglov
84a8a2db33
Issue 39192. Fix codeLength / codeOffset, store it into the cached data.
...
R=brianwilkerson@google.com
Bug: https://github.com/dart-lang/sdk/issues/39192
Change-Id: I17fe30839dd8a51c047103e028eea145ced1ec87
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123689
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-31 20:03:58 +00:00
Konstantin Shcheglov
bb45179cad
Remove tests already moved to ImplicitThisReferenceInInitializerTest.
...
R=brianwilkerson@google.com
Change-Id: Ibaf67be1bea844e10e599aad8b4ebc450e54cac2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123682
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-31 18:14:33 +00:00
pq
d7def97773
typo
...
Change-Id: I9ecb419895e8e722afc47df4090b7fa0dec1524b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123683
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2019-10-31 17:55:23 +00:00
Konstantin Shcheglov
9b15195448
Inline CompialtionUnitElementImpl.getTypeFromTypes
...
R=brianwilkerson@google.com
Change-Id: Ifa3386f19e69fd424f73a4f092438353709ae7e9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123741
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-31 17:14:33 +00:00
Paul Berry
e56612020c
Prepare to publish analyzer 0.39.1.
...
Change-Id: I57132f7ba1e876ce94ae9acd95e702713d79de83
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123700
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-10-31 15:44:23 +00:00
Paul Berry
a0ee662b7b
Move shared analyzer/FE integration test data into shared package.
...
This moves the five test suites for flow analysis along with the
constants test suite.
Note that a few files have formatting errors. I'll fix those in a
follow-up CL.
Change-Id: Ie9bba74c7d91e49ac6c9d3c64a96be007b6a94c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123680
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2019-10-31 15:02:03 +00:00
Konstantin Shcheglov
f8ab10b322
Remove CompilationUnitElementImpl.replaceTopLevelVariable
...
Change-Id: I598fff647524fb8c6737d4eeed9ca9d0fc863913
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123623
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-31 14:31:43 +00:00
Paul Berry
5b4612bc68
Move front_end/lib/src/base/errors.dart into _fe_analyzer_shared package.
...
Change-Id: I9369e8dbf7b5d6fff9ad2a74346871b3e274e8ee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123640
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Jens Johansen <jensj@google.com >
2019-10-31 13:05:53 +00:00
Paul Berry
499815842c
Create a package to hold code shared between front_end and analyzer.
...
Previously such shared code was in the front_end package, but that
created problems because there is a lot of code in front_end that
isn't intended to be shared with the analyzer (including, notably, the
dependency on kernel).
This CL just moves over the flow_analysis logic to the new shared
package. Follow-up CLs will move over other shared logic and tests.
The end goal is that the analyzer package will no longer have a
dependency on front_end.
Change-Id: I5642d6565204422d79808ca47648462db85e442a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123624
Reviewed-by: Jens Johansen <jensj@google.com >
2019-10-31 13:05:53 +00:00
Johnni Winther
d76ffbc149
[cfe] Handle assigned variables in for and for-in
...
Change-Id: I06deda7f017dcd40e5c6987c61261cf3be2be0ff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123410
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2019-10-31 11:36:43 +00:00
Konstantin Shcheglov
decca61f8c
Deprecate TypeDefiningElement.type except ExecutableElement.
...
Change-Id: I7888f7ff796f1c4523cdc7030451dfc3ab622970
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122729
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-10-31 05:09:13 +00:00
Konstantin Shcheglov
2f6de17113
Add extensions to LibraryElement.topLevelElements
...
R=brianwilkerson@google.com
Change-Id: I543a2e8d49cf083a5222b3664f81d31197c4077f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123551
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-30 22:12:45 +00:00
Konstantin Shcheglov
fb362b54a7
Stop using FunctionTypeAliasElement.parameters/returnType in analyzer.
...
The goal is to stop implementing FunctionTypedElement in
FunctionTypeAliasElement, and keep only TypeParameterizedElement.
For some time we will have to keep implementing TypeDefiningElement, it
is used currently as a marker for top-level declarations.
Change-Id: I0062aaa66861a4d7dd5337eb9a44338ad49f5901
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123545
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-30 21:36:33 +00:00
Brian Wilkerson
bbe273081c
Report a diagnostic when the length getter in a constant expression is defined in an extension (issue 39170)
...
Change-Id: Ice1f0620abda8bcbb2b04c3e8912e4c8e36acdca
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123542
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-10-30 21:09:23 +00:00
Konstantin Shcheglov
2b903a6bfd
Add more subtype tests.
...
Change-Id: I4908e161255afd9f5e9fc161d2c73dc88f0f15ce
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123561
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-30 21:03:23 +00:00
Konstantin Shcheglov
79900aea3a
Remove AstBuilder.localDeclarations
...
R=brianwilkerson@google.com
Change-Id: Ic814dac169f2f1ee97e0561c085e92a5984332d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123543
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-30 19:49:13 +00:00
Konstantin Shcheglov
e01ba33faf
Remove CompilationUnitElementImpl.localDeclarations
...
Change-Id: I8c283d7997a26093dff6909a396ec0dee6d13c41
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123469
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-30 18:54:08 +00:00
Konstantin Shcheglov
948e1da54c
Remove _HasTypedefSelfReferenceVisitor, already computed during linking.
...
Change-Id: Iecf75e52e1c41fc88df84aaa09951cceb9d4b114
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123468
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-30 18:46:13 +00:00
Konstantin Shcheglov
4495165191
Always return some GenericFunctionTypeElement from GenericTypeAliasElementImpl.function
...
This will help with invalid cases like `typedef F = int;`.
I plan for FunctionTypeAliasElement to stop implementing FunctionTypedElement,
so stop implementing `parameters` and `returnType`, which currently
do the correspoding workaround. Instead clients will ask
`function.returnType`, and I'd not like to make null-aware in many places.
Change-Id: I3ae9abe4778e530fb02e66f32e4d52f7b57ffeb4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123484
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-30 18:46:04 +00:00
Paul Berry
d50c158d42
Flow analysis: fix analyzer "desugaring" of try/catch/finally statements.
...
Flow analysis requies the client to desugar a try/catch/finally
statement into a try/catch statement nested inside a try/finally
statement (or, in the analyzer's case, to make calls to flow analysis
as though such a desugaring has been done). The analyzer was doing
this incorrectly:
- It was always calling the flow analysis methods for try/catch, even
if there were no catch clauses present.
- When calling tryFinallyStatement_finallyBegin for a
try/catch/finally statement, it was passing in the node associated
with the original try block (prior to "desugaring"). It needs to
pass in the node associated with the desugared try block (which
includes the catches).
Includes a similar fix in the migration engine.
Fixes #39178 .
Change-Id: I16440e71d4964b9905fc2316380c8c98f14b13f8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123506
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-10-30 16:30:04 +00:00
Paul Berry
9be1920abf
Flow analysis: Fix AssignedVariables handling of try/catch/finally in analyzer.
...
A corresponding fix needs to be made to the front end as well. For
now I've used the "analyzer." and "cfe." prefixes in the test case to
note the differences.
Change-Id: I00d42b224577dea67ee198a3c68c775b631e2b29
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123504
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2019-10-30 11:46:14 +00:00
Paul Berry
0d6a59950d
Account for possible AST rewrites during type resolution of forEach loops
...
Fixes #39171
Change-Id: Id7ab65e22747926ead38c778275d7456c54b0f5e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123483
Commit-Queue: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-10-29 21:45:36 +00:00
Brian Wilkerson
12f424f194
Apply updates to previous CL
...
Change-Id: I69f2fd5f26c42d166b1b2f2dfb0bc576305eb3f9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123481
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-10-29 19:39:36 +00:00
Brian Wilkerson
19cab51a4b
Check for undefined unary operators in extension overrides (issue 39158)
...
Change-Id: I3808cdaeb523902bd3f23112ca91b3fe3efa7dcb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123462
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-10-29 18:52:26 +00:00
Brian Wilkerson
d639388366
Arguments to extension overrides cannot have type void (issue 39156)
...
Change-Id: I907c706bf994cac5a60ec74bc1c22939ffa868e6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123461
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-10-29 18:49:46 +00:00
Konstantin Shcheglov
4a07d80178
Deprecate ParameterizedType.typeParameters, update typeArguments doc.
...
Change-Id: I76c02e026c6c566def4f33478ef18f7df9d1d96e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123323
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-10-29 17:39:59 +00:00
Konstantin Shcheglov
7e53b2703a
Replace TypeParameterMember.from() method.
...
Change-Id: Iea0a71badab18178807dd1adc43866f0d9f41a95
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123332
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-29 16:15:36 +00:00
Konstantin Shcheglov
60b7102d31
Simplify evaluating TypeName in ConstantVisitor.
...
Change-Id: Id71404512671f6efdd48ced377137f5bea9d6390
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123331
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-29 16:15:26 +00:00
Paul Berry
12532e327f
Analyzer ID test fix: annotate methods properly.
...
This avoids the need to special case test expectations for CFE in
pkg/front_end/test/flow_analysis/reachability/data/never_return_type.dart.
Change-Id: Ib754a76c96e73c8183b5ff10a2e7d2908e653a31
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123420
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-10-29 14:58:14 +00:00
pq
0a828c7497
context workspace caching
...
Change-Id: Ia0c5a4446e79f48b2cbd76d84e503b03751d5b76
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123326
Commit-Queue: Phil Quitslund <pquitslund@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-10-29 13:50:27 +00:00
Paul Berry
780af0fcfc
Flow analysis: promote to "types of interest" on assignment.
...
This allows so-called "ensure guarded" promotions, e.g.
- `if (x is! int) x = 0;`
- `if (x == null) x = 0;`
- `x ??= 0;`
The latter two are particularly important to prepare for NNBD.
Change-Id: Ib53ca916e6d485945326b19e86f8cfb5b3ee2160
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123280
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-10-29 13:23:59 +00:00
Johnni Winther
c8ff1b0c21
[cfe] Add BlockKind to parse/begin/endBlock
...
... and use this to computed AssignedVariables data for try statements
Change-Id: I235575b055cb89b553baf0ac728d9954d8d0aaa6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123251
Reviewed-by: Jens Johansen <jensj@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2019-10-29 09:17:06 +00:00
pq
669375b269
linter context package api
...
Change-Id: I77b4a0f5df461d1fee7e2ebdab6df005f27e0e16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123341
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2019-10-28 22:17:39 +00:00
Konstantin Shcheglov
abb6f993b5
Extract ToSourceVisitor into separate file.
...
Change-Id: I17362136af2501482cca642387549e85e5fa2413
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123320
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-28 19:12:23 +00:00
pq
a8566798d3
roll back implicit setter/getter metadata “fix”
...
Change-Id: I605250abca46618ad277c368bd68d42990c6c5c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123322
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2019-10-28 18:46:35 +00:00
Konstantin Shcheglov
c60daa3229
Use shared instance of LocalVariableInfo.
...
LocalVariableElement(s) and ParameterElement(s) are unique, and are not
equal across functions. So, we can use a single instance of
LocalVariableInfo. We don't need it for CompilationUnit though.
Actually, we don't need LocalVariableInfo in each FunctionBody, but
our API exposes isPotentiallyMutatedInClosure/Scope from FunctionBody.
Change-Id: I446101020efec7727c7aabd6dd3369563a926d33
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123160
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-28 16:25:06 +00:00
Konstantin Shcheglov
919d292cee
Compare nullabilitySuffix(s) in TypeParameterTypeImpl.==
...
Compare bounds in TypeParameterMember.==, not in the type.
Change-Id: Iaed8ca6d37847193e335279955647ff2bc540c62
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123161
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-28 16:17:01 +00:00
Konstantin Shcheglov
6ae42758fb
Remove ToSourceVisitor.
...
Change-Id: Ie9d7a401ac5cc830eeddbf51cd191c050253d377
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123080
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-28 15:58:41 +00:00
Brian Wilkerson
df8876582c
Include all variations of a message in diagnostic docs
...
We now have multiple messages for the same name (id) and all of the
messages should be included in the docs so that users aren't confused
when the message they see doesn't match what's documented.
Change-Id: I0f668ececae1e9852eff9db25f29a48b7414c4d3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123141
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-10-28 15:55:31 +00:00
Brian Wilkerson
0663721533
Fix warnings by renaming prefixes and associated files
...
Change-Id: I823818c18b18d9fe6cb9d2db28d695323d861e03
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123142
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-10-28 15:48:06 +00:00
Konstantin Shcheglov
8a7ffc5b81
Make InterfaceTypeImpl.typeArguments final.
...
Change-Id: I51af8de355dd994005419ccfc593f3f4fbd988cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123064
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-28 15:47:27 +00:00
Konstantin Shcheglov
581b959423
Remove methods _typeOfExecutableElement().
...
Change-Id: I61ddceefe214176361727482e4044a59d656d581
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123120
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-28 15:40:02 +00:00
Konstantin Shcheglov
c3e2158171
Remove CompilationUnitElementImpl.annotationMap
...
Change-Id: I4a53887c210b380ffdbd0b6bc0a9128781e8ad8d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123063
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-28 15:39:21 +00:00
Konstantin Shcheglov
5a92c0e395
Remove FunctionElementImpl_forFunctionTypedParameter.
...
R=brianwilkerson@google.com
Change-Id: I9d76b16992d4ab00e96c50d3f52c3d4cf339edd1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123040
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-10-28 15:20:11 +00:00