Konstantin Shcheglov
e4344a568f
Report INVALID_OPTIONAL_PARAMETER_TYPE when default values are not allowed.
...
Change-Id: I8145bde238c092a50ddbc053100891737b74feb8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126801
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-12-02 16:54:47 +00:00
Sam Rawlins
3557973a75
Move 5 verifier classes out of resolver.dart, into their own libraries.
...
This removes 6 imports from resolver.dart (15%), and 2750 lines (38%).
Change-Id: Ia4565c8ee9ecd511e0cd9bd5a38b0f6ef89172d6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126200
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-12-02 03:49:42 +00:00
Konstantin Shcheglov
3de7487a2c
Report an error for 'late final' fields in classes with const constructors.
...
Change-Id: I6843191a2f7a0bdd856549177468ff87eec949f1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126782
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-12-01 01:48:20 +00:00
Brian Wilkerson
59d3a2d143
Unify the names of two codes for documentation purposes
...
Change-Id: Ib51e35b5dfc149dc0cfa2fecc5218019e64324f8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126781
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-12-01 01:01:20 +00:00
Brian Wilkerson
0a575d8681
Unify two diagnostics into instantiate_abstract_class
...
Change-Id: I0d9b97b26173ec789a7937337b8ff015edd283b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126780
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-12-01 00:58:00 +00:00
Konstantin Shcheglov
7707c2a84c
Issue 39563. Expression body always exists.
...
Bug: https://github.com/dart-lang/sdk/issues/39563
Change-Id: Ie1db0b78d39e5023662eb192fe59aab8a5b870d9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126702
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-30 18:08:21 +00:00
Brian Wilkerson
c6326de855
Improve the highlight region for variable_type_mismatch diagnostic
...
Change-Id: I8fd2b17c93f2247603a8caacce58cd4abcfb651d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126760
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-11-30 16:09:50 +00:00
Brian Wilkerson
5b31b1e26d
Improve the selection range when reporting that an invoked constructor is not marked as const
...
Change-Id: Ibb49050394abe2ca1b7d5badf10227a970f15411
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126701
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-11-29 16:09:06 +00:00
Brian Wilkerson
46c042a118
Improve a diagnostic message by unwrapping Future (issue 39561)
...
Change-Id: Ie74200e8f41aa70c33f5d7a62c8d0a0ae7a96146
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126700
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-11-29 16:08:46 +00:00
Konstantin Shcheglov
98d1e99986
Relax UP for required named parameters.
...
According to https://github.com/dart-lang/language/pull/707
Change-Id: I7c469a204213968acb76ae6c797189aa3d394154
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126461
Reviewed-by: Mike Fairhurst <mfairhurst@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-27 20:49:51 +00:00
Konstantin Shcheglov
0bbcf079f3
Issue 39532. Support for question mark in typedef generic function type.
...
Bug: https://github.com/dart-lang/sdk/issues/39532
Change-Id: Iea900717e8f60bc6c3216fc18cb59c8f921c996f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126460
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-11-27 20:25:21 +00:00
Konstantin Shcheglov
e56857fcce
Stop using FeatureSet in TypeSystem.
...
Change-Id: Idf80e72c84accb6932f48b80a19e84250979dd1d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126406
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-27 18:58:11 +00:00
Konstantin Shcheglov
eddfaff322
Issue 39509. Support for configurable imports in AnalysisDriver.
...
Bug: https://github.com/dart-lang/sdk/issues/39509
Change-Id: I87cbc20c38ed93e46ae0b646ddad4d9fc28eca8a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126440
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-27 18:58:02 +00:00
Brian Wilkerson
10f158654e
Return the URL of recently published docs
...
Change-Id: Iea19a318182a5c8c3ad1368f9655cf6f5f304301
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126480
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-11-27 14:19:50 +00:00
Konstantin Shcheglov
abeebc04e0
Compute LUB for FunctionType(s) in one pass over parameters.
...
Support for required named parameters.
Change-Id: Ic9dd286779ade8f9cceb5231f68b606148b295ff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126180
Reviewed-by: Mike Fairhurst <mfairhurst@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-26 23:09:15 +00:00
Konstantin Shcheglov
ee8d9d2fd3
Remove unused getters from AnalysisResult.
...
Change-Id: I2a5d2034a7887b145393a2231838f4098da36875
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126284
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-26 02:38:54 +00:00
Konstantin Shcheglov
58e9aeafdb
Deprecate AnalysisSession.typeProvider and typeSystem.
...
Change-Id: I33132bed9fd950030746adbd8951506a81912c41
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126282
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-26 01:30:33 +00:00
Konstantin Shcheglov
273ca5858b
Deprecate AnalysisContext.typeProvider/typeSystem
...
Change-Id: I5235aa38bcde93618a10b88da9ad6a8c3e5dc29c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126141
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-11-25 22:00:47 +00:00
Konstantin Shcheglov
cdab81c21a
Remove CompilationUnitElement from ElementWalker.forExecutable()
...
R=brianwilkerson@google.com
Change-Id: Ibb26890774a2d79bb098e925a04f16c5fa033340
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126144
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-25 21:14:56 +00:00
Konstantin Shcheglov
cc5976f78b
Remove TypeProvider parameter from createLoadLibraryFunction()
...
R=brianwilkerson@google.com
Change-Id: I53fb8fd2312d3fac90e3865326e73978b13c172b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126140
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-25 21:07:36 +00:00
Konstantin Shcheglov
687ef66bfd
Remove InternalAnalysisContext.
...
R=brianwilkerson@google.com
Change-Id: Ica823711b01fe9ee6c3b1dd5d0f68e30fa1996f0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126145
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-25 21:01:15 +00:00
Konstantin Shcheglov
6294c73f3e
Deprecate 'typeSystem' parameter for InheritanceManager3.
...
Change-Id: If14eb8900b0fb5cac5e49cf865f2e6e3a0a0263d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126083
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-22 23:08:41 +00:00
Mike Fairhurst
c58d263729
[analysis_server] Handle directory watcher closed on windows.
...
Change-Id: I11d1d9a324ebb27a920837ee4382b89e7cbb0253
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125765
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Mike Fairhurst <mfairhurst@google.com >
2019-11-22 21:22:28 +00:00
Konstantin Shcheglov
72f461b116
Update FunctionExpression return type inference to NNBD.
...
This reverts some changes I did in LUB update CL.
https://dart-review.googlesource.com/c/sdk/+/125761
Change-Id: I29e8896f6007ecb643c30ad98f2055fb917eeacc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125999
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-22 20:03:27 +00:00
Konstantin Shcheglov
e304d34cea
Use the corresponding TypeProvider(s) to create legacy / nonNullableByDefault TypeSystem.
...
R=brianwilkerson@google.com
Change-Id: I3ddfec3c9b636bbe47b754e0acd508cb8aa367c8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126060
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-22 17:05:24 +00:00
Konstantin Shcheglov
63e8213721
Expose 'typeProvider' and 'typeSystem' from LibraryElement.
...
Change-Id: I547f60ff11c03d6d90385b3257cd3b4244b77490
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125995
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-22 01:53:04 +00:00
Kallen Tu
029e06b8d9
[analyzer] Allow downwards inference and upper bound heuristic wrt variance.
...
variance_downwards_inference_test now passes.
The other part of this CL addresses https://github.com/dart-lang/language/issues/658
The code has similar logic to https://dart-review.googlesource.com/c/sdk/+/125552 .
Change-Id: Ib2bc7e9c11574ccd9b16fe66472bba8c16dabd29
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125486
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Leaf Petersen <leafp@google.com >
Commit-Queue: Kallen Tu <kallentu@google.com >
2019-11-22 01:31:03 +00:00
Sam Rawlins
aff0915ead
Fix BazelWorkspaces in which multiple 'bin' directories exist, e.g. on distributed build systems
...
Change-Id: If619bdd64b1a00be41026643d7c84b8bd9d9dcc3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125723
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-11-21 22:43:18 +00:00
Konstantin Shcheglov
f979bd9899
Merge RestrictedAnalysisContext into AnalysisContextImpl.
...
We don't have any useful / old API(s) in AnalysisContextImpl,
so the distinction between these two does not exist.
Change-Id: I87ef84bc728cc1c2c0e269c695419c425afb6559
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125987
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 21:58:16 +00:00
Konstantin Shcheglov
f3455278ff
Use 'isNonNullableByDefault' flag in TypeProviderImpl.
...
Instead of giving it the NullabilitySuffix, for consistency with
TypeSystemImpl.
R=brianwilkerson@google.com , paulberry@google.com
Change-Id: I16d1ca32071b8a28a31e207afed604f8d4b24a2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125982
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 21:43:56 +00:00
Konstantin Shcheglov
dcaf959589
Fix several unused elements, and unnecessary casts.
...
R=brianwilkerson@google.com , paulberry@google.com
Change-Id: I81559cb241c0ca6918f6730538f44a7411907867
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125986
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 21:37:52 +00:00
Konstantin Shcheglov
6646412705
Rewrite DEFERRED_IMPORT_OF_EXTENSION check to using ImportElement namespace.
...
I think we thought about doing this, but probably forgot to do.
Also, we got NPE during google3 rool, 'importedLibrary' might be null.
R=brianwilkerson@google.com
Change-Id: Id321f18c97df06f543d619cf1913551535634d0a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125985
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 21:32:37 +00:00
Konstantin Shcheglov
03676ad489
Remove AnalysisEngine.createAnalysisContext()
...
In order to remove a way to create AnalysisContextImpl at all.
This method is not API, and is not used internally.
R=brianwilkerson@google.com , paulberry@google.com
Change-Id: Ie36c1cc9e414310a9e3ee08a9ac26da9191b1ef7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125983
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 21:13:50 +00:00
Konstantin Shcheglov
6444fba9c7
Implement upper bound computation with NNBD rules.
...
https://github.com/dart-lang/language/blob/master/resources/type-system/upper-lower-bounds.md
Limitations:
1. Only UP is implemented, not DOWN.
So, handling formal parameters in incomplete.
2. Handling required named parameters is not implemented yet.
Change-Id: I4ddebeeaad21d41e0cbecfbc08aee82ec9752bce
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125761
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2019-11-21 17:24:46 +00:00
Brian Wilkerson
6dc3762b99
Stop producing a diagnostic for an error that was removed from the spec (issue 39476)
...
Change-Id: I811356f737ea27bad804729c0ee518701a08dd8b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125927
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 17:18:01 +00:00
Konstantin Shcheglov
821b3c44ff
Add evaluateConstant() to LinterContext.
...
R=brianwilkerson@google.com
Change-Id: I497f1eccf48d3bd9d425cc47fbca769b27cab119
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125922
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-11-21 16:29:36 +00:00
Konstantin Shcheglov
b370346d60
Add 'isNonNullableByDefault' flag to TypeSystemImpl, make all parameters named required.
...
R=brianwilkerson@google.com
Change-Id: I262f86ba964f4970ec570dc9fa4c1a802556fa63
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125924
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 15:37:46 +00:00
Brian Wilkerson
ad021d02d4
Integrate the latest batch of reviewed diagnostic docs
...
This includes a small improvement to the validation tests, but there is
also one code whose docs can't be verified without additional work that
I will do in a follow-on CL.
It also includes splitting one code into two to improve the messages.
Change-Id: I52989ca336e42822327e3ac3805b1654d20a479c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125901
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 15:21:55 +00:00
Kallen Tu
54011e5622
[analyzer] Fix format.fbs after summary change for variance.
...
Change-Id: I90379ad24f50e3d8a3d16879a4572529b3d83692
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125900
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Kallen Tu <kallentu@google.com >
2019-11-21 01:39:34 +00:00
Konstantin Shcheglov
615928c514
Stop referencing non-API TypeSystem in analyzer.
...
Replace it with TypeSystem from lib/dart/element/type_system.dart,
or (internally) with TypeSystemImpl.
We keep the old TypeSystem where its is exposed from API:
- ResolveResult.typeSystem
- AnalysisSession.typeSystem
- AnalysisContext.typeSystem
We will make changes to these as a breaking change later.
Change-Id: I40ca53ea77e440457c6d0f3832ec3b6286bacdf0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125770
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-21 01:09:24 +00:00
Kallen Tu
8d328738b8
[analyzer] Add variance to analyzer summaries.
...
Change-Id: Ia1a527eff5a784b2cb6d169c76108c16e6ccfe1a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125554
Commit-Queue: Kallen Tu <kallentu@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-11-20 23:01:02 +00:00
Konstantin Shcheglov
be519e83b1
Remove XyzElementImpl.forNode() constructors.
...
R=brianwilkerson@google.com
Change-Id: I39332a153b6d13be7b33d3980263eb3c3e952c65
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125802
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-11-20 22:48:43 +00:00
Konstantin Shcheglov
b55ae4e586
Remove TypeSystem.create()
...
R=brianwilkerson@google.com
Change-Id: Ia916d90b0d33509538851024696665f296d966ee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125764
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-11-20 21:13:32 +00:00
Paul Berry
b14a4fbf49
Update the comment on parseString to clarify throwIfDiagnostics behavior.
...
Change-Id: I67d5a37bd88f8dc355af6f3d2651a9aa0b037871
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125763
Commit-Queue: Paul Berry <paulberry@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-11-20 19:06:29 +00:00
Janice Collins
733db095ce
Move nullabilitySuffix to the public interface for DartType.
...
Change-Id: Idb53afaf30312b6423b84baa988ec2bb9ca29c24
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125720
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Janice Collins <jcollins@google.com >
2019-11-20 17:13:59 +00:00
mnordine
f594720679
Fix typo
...
Closes #39402
https://github.com/dart-lang/sdk/pull/39402
GitOrigin-RevId: 89a3ac03e3fc971e0fcfeb36ddcc1bc6b2ffcb34
Change-Id: Idee225262fbfa1c3dc7acbabd141eb7a275fee87
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125442
Reviewed-by: Michael Thomsen <mit@google.com >
2019-11-20 11:25:52 +00:00
Jaime Wren
f414465c45
Analyzer refactoring Workspace.isBazelWorkspace() to a getter: get isBazel, this is follow up on https://dart-review.googlesource.com/c/sdk/+/125564
...
Change-Id: I7e1dbc6b695b04a65bbb17761162daece797f238
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125470
Commit-Queue: Jaime Wren <jwren@google.com >
Reviewed-by: Jaime Wren <jwren@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-11-19 19:05:59 +00:00
Brian Wilkerson
1f933abcee
Convert a compile time error into a parse error (issue 39389)
...
Change-Id: I115c7bb4ab05f8c6e9ddc566985126a1b9a09842
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125621
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-11-19 18:25:29 +00:00
Sam Rawlins
db166e423e
Fix unused elements when setter used
...
Fixes #35677
Change-Id: I2daf8b4e2cc8e1a11ed0dde730d4126154b60910
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125620
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2019-11-19 17:44:19 +00:00
Sam Rawlins
6f5b3775ff
Simplify IgnoreInfo.
...
* Remove ignoreForFiles and ignores, unused public getters,
* Remove add(), unused public method,
* Make addAll() and addAllForFile() private.
Change-Id: I9d03b5bbae0b1db291c612f142725beb27281731
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125523
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2019-11-19 12:27:24 +00:00