b6997deb3e Resolve typed constant initializers separately.
8053c43dde Compute static types for for-in loops
b9c87ebbda Add scanner languageVersionChanged callback
fa274ec059 Make each NullabilityNode track those nodes that are downstream of it.
407378879b Error reporting and ~no location data
8d4816b7ff Reimplement member usage tracking
b36734f4da Fix crash when duplicate fields have annotations
30e21f3dc0 Don't crash when additional exports contain duplicate names
9670b2ccb9 Update the server API to support context messages
58c6d78712 [vm] Check Zones are only [un]chained on the correct side of a safepoint transition.
4ce3aa7af1 [vm] Replace ^= assignments with = where possible
2e24a992c7 Support for 'nullabilitySuffix' in linked types.
481d6b9f30 Fix the windows bots
ee1192e693 [dart/vm] Extended graph checker
a32fee5d8e [dart/vm] GenericCheckBound (AOT) may throw
3b22a7ae46 [vm/profiler] Fix native stack walker to properly skip PC = 0xFF..FF
a30819a2f6 Add a diagnostic associated with the default List constructor
ac4fd50446 [vm, compiler] Check for length overflow when eliminating write barriers for variable-length objects.
7cb1365f7f replace individual scanner flags with scanner configuration
a20e7eee15 update scanner config based on language comment
26a82dbf38 Support for LibraryElemenet.entryPoint
de1966db11 Separately handle InterfaceType and FunctionType while collecting free type parameters.
e178b0726a [test] Speed up unicode-regexp-zero-length_test.
5896692b42 Introduce pkg/modular_test: a package to specify modular tests
d543d2e812 Check window.MediaSource before call constructor
46847f2239 Store super-invoked names for mixins.
* Update dart_quiver_tag to dart_quiver-dart_tag to match Dart SDK deps
* Roll src/third_party/dart c46deebfb6..5fbf7720f8 (68 commits)
5fbf7720f8 [ VM ] Updated splay-tree licenses, added V8 project authors to AUTHORS
e803d02227 [vm] Update Isolate to C++11 style.
aebc542801 update scanner to process language version comment
597e9c6222 Update new issue template.
af1dbdf13b Change representation of ExpressionChecks.
5152269d28 Convert another test class from ResolverTestCase to DriverResolutionTest
a8d034f3e1 [vm/reload] Make sure classes in saved class table are visited by GC
25daff618d Support for 'late' keyword.
ae97367e4a Support for 'required' keyword and default parameter kinds.
0213a31527 Fix for default parameters without name.
347b72c260 [vm] Bypass malloc for large Zone allocations to avoid jemalloc leaks.
a7325f9e59 Re-enable and fix the move_file_test.dart tests in the analysis server.
4215dc8365 cleanup analyzer warnings
f6f59c997f Rename quiver revision variable so it matches [dep_name]_tag pattern.
ea708965ab Find type alias self-references during linking.
afe805fa6e Fix hint unused_shown_name
156de21785 Adapt OptionalConstMixin to summary2.
0bfe57da52 Store unresolved URIs, but as empty strings.
ca3d908719 With issue 36262 fixed, remove the workaround.
4d7217016e encapsulate scanner configuration in ScannerConfiguration
7757c3e948 [vm] Consolidate generic move code between ParallelMoveResolver and FFICall
1dd0f88c84 Don't allow `null` as argument to `StreamIterator` constructor.
9cf5e51988 Consolidate test usage of ExpressionChecks.nullCheck into a single method.
43937aa9ca Don't let expression compilation bleed into real library
054d1a301c Another test for reissuing problems
0325d50db2 [CFE] Add disambiguation for type parameters if needed
d8739b582b Don't try to initialize from empty dill
af3ec66106 [Kernel] Fix specification of constant reference.
f3e1480b52 Update manifest checks watnings and corrections
243373af1c [vm, x64] Tighten the monomorphic entry sequence.
532226f024 The library is synthetic when its defining unit is synthetic.
6e72fed210 [vm] Fix for flaky crashes in background compiler while Dart_SortClasses() is running
611dbeb387 [vm, fuchsia] Fix deps and stop suppressing -fvisibility=hidden.
87a3256e8f Add lineOffset and columnOffset fields to the Script service protocol class.
0b9060ec1d [vm] Fixes for flaky crashes when querying source or source location
c944328528 Refactor types resolution, compute default types for type parameters.
6436104712 [vm/tests] Fix flaky crashes on vm/cc/GenKernelKernelMaxRSS test
b83902d51b Add a language_2 test for missing arguments related to required named parameters
950e174799 It is not an error for a late final variable to not have an initializer in nnbd
c4c357eb21 [vm/interpreter] Fix for flaky crashes in interpreter
6ef55cee3e [dart/vm] fix build breakage in assembler_dbc_test
9b3567a466 Rename poorly named error code and improve the message
7d462b12b9 [vm, fuchsia] Add back -fvisibility=hidden suppressions.
66fbaf30e6 Update CHANGELOG.md with AOT
9de07a2c58 [infra] Bump version file on master to 2.3.0
2f06696655 Include the keyword required when printing elements, with additional cleanup
49573f59d3 cleanup analyzer warnings
24396182e1 [ VM / Service ] Handle case where user navigates to Observatory without a slash trailing the authentication code.
4038f91c38 Change the messaging for the CrOS touchscreen check
e2d0f5a50b Add `featureSet` parameter to Parser constructor.
b378eef54a Add a option to pass in version file to tools
37f915543f Introduce AstFactory.compilationUnit2 with a required featureSet argument.
3d0825da5d Improve the message when a mixin cannot be applied because the superclass does not implement a required class (issue 36775)
3d0cdc8956 Switch perf.dart completely over to Fasta parser.
4028fec3b5 Reland "[vm] Finish adding support for ECMAScript 2018 features."
160aa37b9f Ignore exporting of unavailable libraries.
f598581e41 Support for type parameters in function typed formal parameters.
d816a46806 Convert MixinDriverResolutionTest to subclass DriverResolutionTest
fd76dda221 Identify mobile or web Flutter correctly when both are possible.
7e0d76c5dd Compute BuiltWorld properties from member usage
e00b2b577e [dart/fuzzer] restrict length parameter in List fill
5964ec4db7 Disable all tests in move_file_test.dart by renaming the file to move_file_disabled.dart
c3669f787e Add a diagnostic for missing arguments associated with required named parameters
f3b6028edc [vm/interpreter] Bump usage counters and trigger compilation of invoke-field
ec15148db2 [dart/fuzzer] no target on unsupported build targets
986978ad8e Additional FeatureSet plumbing for parser_fasta_test.dart
0dc33da6e8 Add LinterContext.canBeConstConstructor().
d03323783a Fix an exception in flutter outline when using ui-as-code elements (issue 36772)
* Re-create texture from pixel buffer onGrContextCreate
OnGrContextDestroy we destroy the texture, this is because
we can not access it from the potentially new context that
we get on bringing the app back to foreground.
To show a valid texture on fg, we need to preserve the pixel
buffer, using which we will create the new texture.
* ensure texture cache exists
* only reset pixel buffer if not null.
While working on #8659, I had planned on renaming this file to
thread_local_unique_ptr.h, but decided against that at the last minute
before sending for review. However, when reverting the file rename, I
forgot to also revert the header guard change.
c46deebfb6 Disable all the analysis server move_file_test refactoring tests
c6cc447e98 Convert StaticWarningCodeTest to use DriverResolutionTest
b9bf239c65 Revert "Add support for recording context information with analysis errors, with one example"
832668ff6c Reland "[Infra] Let run_vm_tests --list output a test expectation marker"
119f937418 [vm/compiler] Make StoreIndexedInstr take unboxed values and make LoadIndexedInstr produce unboxed values
a1dd732ec6 Extract WorldBuilder results into an immutable BuiltWorld object
a23def41f9 [vm/dbc] Support UnboxedWidthExtender on DBC
ed8e4255a4 Proposed fix to #36644
7adad2a245 [dart/fuzzer] DartLibfuzzer README additions
33273b5b25 [vm] OperatingSystemVersion return Android OS version
c5cdc4ed89 [dart/fuzzer] Add build rule to link Dart with libFuzzer
8c03636b75 Windows analyzer bot fix- normalize file paths that are resolved in memory
9a07ad88f4 [vm, irregexp] Cache the backtracking stack on the isolate to avoid memory leaks in jemalloc.
7cd43a1de3 bump to linter 0.1.87
6114435ea5 Add support for recording context information with analysis errors, with one example
6498a3e357 Add some tests of the listTokenDetails request
74ac17c13f In BestPracticesVerifier, configure linter context with unit information.
The sticky error may be set in cases such as an unhandled asynchronous
exception. This is similar to the logging done in the Dart command line
embedder's isolate shutdown callback.
e70273c306 Issue 36733. Completion in spread, if, and for elements.
d0b236c319 [dart/fuzzer] restrict stmt depth and length
ccf7eac86d [vm, jit] Make unoptimized instance calls compatible with megamorphic calls.
bba0be2797 Rework type parameters, use correct enclosing element / reference.
317a075d93 [vm] Fix DEGUG typo and a few other bugs it was hiding.
05d33b1240 Add WorkspacePackage support for InSummarySource sources
eeb7a92b21 Pass the authentication code when fetching timeline and CPU profile data
76c6b86915 Revert "[Infra] Let run_vm_tests --list output a test expectation marker"
9238e25305 Revert "[vm] Finish adding support for ECMAScript 2018 features."
000a3eb3f7 Add completion support for late and required
4da31564cb Fix the placement of late in two tests
7cb73d97d2 [Infra] Let run_vm_tests --list output a test expectation marker
a3c19d4ffc [vm/compiler] Move inlining/intrinsics pipeline passes to compiler_pass.h
5fc8029587 Remove StaticMemberUsage and cleanup codegen world builder
a0a51a7cde Resynthesize fields.
3fd6fa4ff7 [vm] Fix errors compiling with GCC.
225516466f [vm, interpreter] noSuchMethod dispatchers as a bytecode.
f3bd910e10 Only use MapFormatter for SDK maps (HashMap and LinkedHashMap)
f82000dfb1 pre-nnbd modifier as identifier tests
f3e86852de Fix the order of arguments when composing an error message (issue 36732)
f04cac8fbd Implement inheritsCovariant.
2cadc90ec5 Add summary support for isLate
a28d5e7a0f Rework reportTypeErrorForNode() to work even when FunctionType does not have an element.
f7c67ee927 [dart/vm] Use EvenSRegisterOf() instead of unclear cast
e7175ac2ed [vm, fuchsia] Consume specialized symbols for the Dart VM's profiler.
91e9962699 Don't report libraries that became parts as changed libraries.
ec09fab85a Create elements for @prefix in LInkedElementFactory.
2c77aae6b3 Support for LibraryElementImpl.hasExtUri
e6260f67b3 [dart/fuzzer] Remove hashCode from API table
c3e7859035 Store raw elements for parameters.
e429cba1ec [vm] Change FpuTMP to XMM15/XMM7 on X64/IA32.
9a03c94d36 Clean up ParseBase's use of AnalysisOptions.experimentStatus
0c5199d467 Wrapper script for running ABI tests
c5e57cc078 Plumb FeatureSet through resolver
296505e2e3 Sort declarations in pkg/analyzer/test/generated/parser_test.dart
ed984b6985 Sort declarations in pkg/analyzer/test/dart/ast/ast_test.dart
8516ad8256 Sort declarations in pkg/analyzer/lib/src/dart/sdk/sdk.dart
efd1ccb31a Modify the MOVE_FILE refactoring support to be passed a resolved unit like other refactorings.
43e26c2de9 Add highlight support for late and required
e42c5d12fe Cleanup tests by removing references to enabled experiments and by reducing duplication
663919e361 [vm] Free error if embedder failed to start service isolate
650cd2ed1d [gardening] Fix multitest comments on this file.
5ebb640a67 [vm] Finish adding support for ECMAScript 2018 features.
c4ab0d2014 Inline create methods in JsKernelToElementMap
446c6754d6 Fix runtime type error in Swarm
db8f0090a5 Separate mixins into @mixin, build GenericTypeAlias.
d6a09ff02f Prepare to publish analyzer version 0.36.2
07017d33a6 pkg/analyzer_plugin: support the latest pkg:analyzer
9af0574287 Remove unused import
2eb36e8879 [dart/vm] What's in a (register) name?
b5769936a9 Perform mixin inference during types building.
d06121ea89 [vm/compiler] Remove AbortBackgroundCompilation from guard instructions
4624419736 Support UI-as-code in deprecated parse functions.
ca9bbd39d5 [dartdevc] Remove ddc and ddk pre-compiled "legacy" sdk modules
e695bc3c6d Record type inference errors for fields and parameters.
174395a49e NNBD "late" modifier language_2 tests
7c18fc0c3d Revert "[gardening] Mark ffi/function_stress_test/1 test as slow."
2c4dc7a431 Support targetting flutter and flutter_runner in kernel_worker
2298712d62 [vm] fix position of DebugStepCheck when building break statement in flowgraph
c66a67c4a3 Rename isLazy to isLate to reflect change in keyword
ab7e9500c7 [vm, arm64] Fix some assertions.
b9be35b3fc Perform override and initializer inference at the same time when required.
34f0bed189 Use the correct syntax for null-aware spread in CHANGELOG.
04e1b0d976 [ VM ] Updated standalone VM to display message about --disable-service-auth-codes when --help --verbose is provided.
688f029c4f Rename workspace to refactoringWorkspace in move_file.dart to clarify the type of the object.
7388c3e3db [gardening] Mark ffi/function_stress_test/1 test as slow.
594a0ef7a7 Perform instantiateToBounds() even for not simply bounded types.
b4d17f2eee Add diagnostics related to default values
dbfcb97fa5 [dart/vm]: sometimes a smi is just a smi
cee1e41fe8 Plumb new FeatureSet class into Scanner.
293c0f42f7 NNBD "required" modifier language_2 tests
bb2a3ca6f6 Plumb FeatureSet into ConstantVerifier
81b028de78 cleanup some error codes
80d4b9a5db [vm/frontend_server] Expose protobuf aware tree shaker in frontend server
b7375d0360 Nit: convert singular tab into spaces in test_matrix.json.
a58aa6f705 Fix NoSuchMethodError in observatory when setting breakpoint via debugger console
86fe7ca75c Fix build when python=python3
475c918f0a [infra] Run analyzer unit tests only on analyzer builders