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
1f1592edce Add manifest checks for touchscreen feature
630058286f [build] Fix deps for dart_io.
5ee20c99ac [vm/aot/tfa] Workaround for crash in getStaticType
2c304d997f [dartdevc] fix#36372, make JS Array constructor property usable from JS
ef9c25c08b Support codeOffset/Length for CompilationUnit and other nodes.
80bed430c8 Extract AnalysisDriver tests that work with summary1 into a separate test class.
39662f8108 Set ElementAnnotation for directives.
c7279d347b Always lazy create TypeParameterTypeImpl.
27b64953d5 Fixes for applying resolution for fields metadata.
385406ac92 Give LinkedElementFactory its AnalysisSession, fixes for nameOffset.
8b6d04b2ee sort tests
c89e71cd40 The default return type for []= is void.
971f4845d7 [build] Remove last platform -> vm and bin -> vm dependencies. Fix some ODR violations.
3aef424c9c Always add imported / exported files, even if they are parts.
e7a54a9759 Support for TokenType.GT_GT_GT
ec79fc2ff4 update AstBuilder to process "late" modifier
390ba6925d Allow nnbd to be enabled in tests
d1b675055c Read all GenericFunctionType(s) and TypeParameter(s) is lazy AST before reading eager AST.
17db9f986a Simplify type tests in nullable_type_ambiguous_test.dart
dfa56c7031 [vm, interpreter] Invoke field as a bytecode.
2d6313c9e4 Prepare to publish analyzer version 0.36.1
4a33d33297 Store FeatureSet in CompilationUnit.
08832508ec Forward "late" modifier to parser listeners
449cdecda2 [vm/interpreter] Fix bytecode instruction formats in interpreter
6d9d95d938 Add GenericFunctionTypeImpl.declaredElement
fd48001ace Put NNBD modifiers behind a flag
a9b1d9e33b Splice resolved API nodes and unresolved function bodies.
38eed58f61 Fix hints in nullability migration code
d50232a3f5 Plumb new FeatureSet class into AstBuilder.
780f1b6c3e Remove unused imports
c3f822eae6 Attempt to fix failures on the windows bot
47a8ff60e1 Convert more analyzer unit tests
76f177a492 Use a non-null index for all features, even expired ones.
f5224b53e4 [dart_internal] Bump SDK constraint upper-bound to <2.4.0
3d1ca4ae39 Revert "[vm, interpreter] Invoke field as a bytecode."
c85631330d [vm, interpreter] Invoke field as a bytecode.
680744d169 Fix version number strings to always include a patch number.
cb4db33010 [vm/debugger] fix order of type arguments in debugger
1ecedb2341 Fix JsLinkedHashMap memory leak
af0fa108da Add support for required named parameters
a2e06eafff allow built-in keywords as identifier in for-in loop
63658b113c Proposed new API for tracking feature opt in/out
8924c18003 [vm/tests] Revert changes in pkg/vm unit tests after constant-update-2018 was disabled
aaa829695f Fix typo in CHANGELOG.md
78340fdf82 [vm] Support ListInterfaces for android
9e87c16677 Record TopLevelInferenceErrorKind.dependencyCycle in summary2.
3ae2ef7763 parse "late" modifier
b352b5ffb7 [vm, jit] The hottest Smi ops are + < == not + - ==.
3f477a6218 Consolidated CHANGELOG entry for 2.3.0.
This reverts commit 0fcfa0df2aa19947ad73882ab4fb24fc9124e47b.
Windows depends on referencing the snapshot symbols directly instead of
via dlsym. Something in the way these symbolsa are generated in
bin_to_assembly.py is causing them to be inaccessible at runtime.
cf4444b803 Revert "[ VM / Service ] Temporarily disable VM service auth codes by default"
f8491950fe Create List<TypeParameterElement>, not Impl.
fa7485f28e Build types for not simply bounded elements using dynamic type arguments.
9d376de55a [vm] Remove code collection.
0c0e49cd11 update keyword list to include "late" modifier
3cf3e4edde [dart/vm] Reduce trip count of osr test
503e20946c [vm] Start logging if shutdown takes too long.
2b9f968d2f Convert engine.dart to triple-slash comment style
73b917c014 [vm/compiler] Do not generate unnecessary field length guards
20fde9a6a8 Don't overwrite inherited types of fields with types of initializers.
e6e2a196a3 Issue 36667. Check for unresolved URI in getLibraryByUri().
6ac38a926c The synthetic default constructor should have reference.
92729e0cd3 Remove UndefinedTypeImpl.
cf77b82f52 [analyzer] handle youtube and animation dartdoc directives
6384f629c0 new conflicting-modifiers error code
f3703c1bce change "late" from built-in to keyword
af9c01432c Remove unused import
7b6b8f8c43 Restore 'parameters' and 'typeParameters' for ParameterElementImpl.
bc58bf598e Add summary serialization support for nullability suffixes.
8093f73424 [vm/dbc] Add UNREACHABLE() stubs to simulator_dbc.cc in 32-bit mode to make 32-build work
336fc9001c Fix for getting type of a DefaultFormalParameter during building types.
e93c6b7ce1 Add AST representation of the late keyword
43eebea5a3 [kernel_worker] retry on failure
284a299543 Fix mustCallSuper for mixins; fixes#36492
5a824581b7 Read directive annotations before returning offset.
703ccc974b Support for TypeParameter metadata.
242ed77040 Fix for FormalParameter without name.
92dd37081d Write / read Annotation element.
d8a0d68bd6 Rename devcompiler to ddc
6d91643073 [vm, interpreter] Handle closure case of invoke-field-dispatchers as bytecode.
b8a9711489 Update AstBuilder to handle "required" modifier
ca28e2c8ce forward "required" modifier to parser listeners
250d931ecc When URI cannot be resolved, the library is null.
2491767a33 Use correct CompilationUnitElement for annotations.
4ef18fdb96 Fix nameOffset for Export/ImportElement.
7873dbdc1d Fix for duplicate declarations.
38049f3cb6 [vm, interpreter] Handle implicit static getters as bytecode.
714a082a5d Minimal integration of summary2 into AnalysisDriver.
dd3530450d make "late" and "required" builtin keywords
836efd6520 Add a language_2 test for having an invalid type in an on clause
81e554ea43 parse "required" modifier for NNBD
1eab04ed3f Reland "[VM-debugger] resolve column breakpoint tokenposition into a single value"
ec27b09e68 [vm, service] Fix deferral of service extension invocation to not be mislead by other OOB messages.
1e30bb90dc [vm/dbc] Support unboxed Int64 on DBC
Reland "Add a unit test for PhysicalShapeLayer (#8616)"
This reverts commit 91b71070f55ffc38c432babc7d9bb68ac2720d8d.
The only change is the namespace.
An unnecessary PrerollContext copy is also removed. The added unit test will catch the error if we forget to subtract the elevation after the copy removal.
This change has been tested with the framework (`flutter test --local-engine=host_debug_unopt`).
714a082a5d Minimal integration of summary2 into AnalysisDriver.
dd3530450d make "late" and "required" builtin keywords
836efd6520 Add a language_2 test for having an invalid type in an on clause
81e554ea43 parse "required" modifier for NNBD
1eab04ed3f Reland "[VM-debugger] resolve column breakpoint tokenposition into a single value"
ec27b09e68 [vm, service] Fix deferral of service extension invocation to not be mislead by other OOB messages.
1e30bb90dc [vm/dbc] Support unboxed Int64 on DBC
Adds StandardMethodCodec support to the C++ client wrapper. This makes it
substantially easier to add Windows and Linux support for existing plugins, as
StandardMethodCodec is the default plugin protocol.
Fixesflutter/flutter#30670
Does not include extensibility for the codec, which will be added later.
Adds a type that can hold any of the types corresponding to the Dart types
that are supported by the standard message channel codec. This provides
the foundation for adding standard message codec support for the C++
desktop shells (flutter/flutter#30670).
8e73b3c006 Enable ui-as-code features.
698800a902 [ VM / Service ] Initialize ThreadInterrupter state even if profiler isn't enabled.
e7f75e11ae Add more checks for manifest
4b7d256a06 Revert "Enable constant-update-2018 by default." and "Update .expect files in pkg/front_end after e9ca6a53"
ecdbdf00b8 [dartdevc] Retry ddc incremental compile on crash
6dc209e858 [tests] UI-as-Code in const collections is a compile time error
f175b0baf8 Report errors for using control-flow and spread features in a const context
73d99df7e0 Report when a potentially nullable type is used in an on clause
80dd5ca3d4 new "modifier out of order" error code
9070d6ae61 [dart/vm] Inspect shift constant in absence of range analysis
49607d13e2 Bump markdown to 2.0.3
1642934663 [vm, interpreter] Emit only one copy of exception processing.
41e9878348 Unbreak two tests that were failing on Windows.
cef1e31284 Rewrite AST for implicit instance creation.
6e28c24a01 [vm/compiler/bytecode] Ensure CheckStackOverflow is in the join block
5af34ea93d [CFE] Handle invalid constant string interpolation in unevaluated constant expressions
457a781bd7 Reland "Do not append `!` to type names in tests that exercise NullabilitySuffix.none."
2b4d27bf6f Fix test_unresolved_annotation_instanceCreation_argument_super.
c3428c9342 Disallow UI-as-code in constants if constant-update-2018 is disabled.
a8e8b2c426 [vm/compiler] Elide DebugStepCheck instructions in PRODUCT mode
4b19ca1489 Add language_2 tests for NNBD null-assertion operator (!)
2768cce4bf Revert "Do not append `!` to type names in tests that exercise NullabilitySuffix.none."
8188e02661 Create ConstFieldElementImpl for final instance fields in classes with const constructors.
6761015e30 Fixes for unresolved and invalid URIs.
890d12fa47 Do not append `!` to type names in tests that exercise NullabilitySuffix.none.
2f77be6dc7 Fix overzealous rename.
58ff41ad33 Add test for static tear-off
e0bb1c8a58 [dartdevc] switch DDC tests to use Kernel files
32f5223119 Search all directories when attempting to analyze manifest files
5319d76b5a Run ddc worker tests
a63bf3c846 [vm] Don't call the debug step check stub or bytecode in PRODUCT mode.
f8c1cc7c24 Update the output for the generated Outline.java to compile. Outline.java has a special fromJson() method special cased in codegen_java_types.dart that was not updated when fields were added to the protocol.
144bfdfce6 [vm] Use a separate kind tag for static field initializers.
92c14cb7ef [fuchsia] Mark subprocess images as executable
f0ae4de9a7 [ VM / Service ] Fixed GetCpuProfileTimeline which was attempting to parse 64-bit values as if they were 32 bits.
bd4576174e Remove the nullability variants of dynamic, bottom, and void.
a82a35af71 Rework _checkForDeadNullCoalesce using `isNonNullable`.
fa5440a568 Fix a typo in the comments
77d096ca94 Add AST representation of the required keyword
f315727b79 Add basic resolution semantics for null-assertion operator
067293b7fc Update the copyright year to 2019 before pushing DAS 1.26.0 version to the Dart plugin
3937751b94 Switch AST summaries tests from the hardcoded SDK to MockSdk.
369c9653c6 Store 'definingType' for next to raw Element references.
b9eb7c312c Add nullability testing methods to TypeSystem
55ff0abde5 Rework building types for type annotations and declarations.
76e62d83e3 [vm/precompiler,const eval] Properly handle constant closures with delayed type args.
0b6c61dbd3 tests for issue 36055
ae05bc6ec5 Add support for the type Never
92b4f78148 Fix warnings discovered during Apr 15 analyzer/front_end roll.
79974bb026 Rename Nullability enum to avoid confusion with spec.
e42a8032fb [cfe] Remove uninferred initializers from outlines
4b42f87971 Remove unused import
193458abaa Return the keyword from childEntities for import and export directives
d3e00fd35e Update .expect files in pkg/front_end after e9ca6a53
b997b59c09 Include manifest in the list of files to analyze
ec0447db5d Add support for using ExpectedError and convert a couple of tests over to use it
ea8d6e6fa9 Rename some error checking methods
3e6fd64a8a Dependencies based type inference with AST summaries.
c18c1f4bfb [fuchsia] Use Unmap() instead of zx_vmar_unmap()
0aa5547de1 Add missed tests and fix bug
22a843a23d Fix precedence of postfix "!" operator
f3dbfee467 Fix the error message template for EXPERIMENT_NOT_ENABLED.
2e7bd1359d parse dart language version comment
e89850f95d Move STRICT_RAW_TYPE on constructors to INFERENCE_FAILURE_ON_INSTANCE_CREATION
381f94522c [fuchsia] Fix vmo leak
61bb30822b Revert "[VM-debugger] resolve column breakpoint tokenposition into a single value"
0314d86af4 Add errors when a nullable type is used as a supertype
9cc008e49c [vm/bytecode] Add bytecode instructions for double operations
734c50cbf2 [vm/bytecode] Update expectations for bytecode generator unit test
3714658d0f [vm] Fix Win32 build broken by 2a237327b220d54f64469484d35a02b641914053
1ca57fc729 Update cfe_constant_evaluation_test and remove old constant-expression tests now that constant-update-2018 is on by default
2d1440b848 [VM-debugger] resolve column breakpoint tokenposition into a single value
0d65bb9ab3 [VM] Adjust the expected results for get_source_report_test.dart
7b893ce825 Check return value from Dart_PostCObject() in sample extension
47520b1856 test.py plumbing for ABI versions
25cb45c02f [vm/aot/tfa] Update TFA tests after front-end starts evaluating constants
6c5709c44a Remove the URI of types until we can produce better URIs
2a237327b2 [vm/compiler] Take into account all redefinitions when computing aliasing.
bc5cc91fef Fix the command line for getting the Git head short hash
85f623374a Triage and fix some more tests.
5746227588 Support for configurations in import/export directives.
e9ca6a5335 Enable constant-update-2018 by default.
125ee3b719 [vm/compiler/aot] Avoid using EnterCallRuntimeFrame/LeaveCallRuntimeFrame due to code size of register spilling
d81783ff5f Begin writing language_2 tests for NNBD.
c2eb9a9860 Add support to the element model for both lazy variables and required parameters
4ed24862ee [CFE] Extra dummy SDK classes that the constant evaluator needs.
ce9a1e2b54 [vm/compiler] Fix write-barrier elimination issue
a3d13fbf54 [CFE] Option to report error on unevaluated constants.
394f88d5cf Create source information from ConstantExpression
b7b7a63407 Fix relative import from pkg/kernel/test to pkg/kernel/lib.
0136d96a96 [dartdevc] fix#36532, adds DDC support for CFE constant flag
022400eecb Fix several small issues with AST based summaries.