571ea80e11 [vm/compiler] added assert to kernel flowgraph builder
b88e6dd910 Fix the type argument on the deep flattening spread test.
62df51cb34 Eliminate uses of old AST node types from parts of the analyzer
Fix for flutter/flutter#27700 and flutter/flutter#24207
There are 2 fixes included in this PR.
The intercepting views sometime pass up the touches events to flutter view, even after the forward gesture recognizer pass the event to the flutter view. We only want the event to be passed to the flutter view once. So we let the intercepting view 'consumes' the event in this PR to fix the problem.
When a touch sequence has multiple touch points participated(e.g. Pinch gesture), the touchesBegan and touchesEnded can be triggered multiple times if the touches do not happen simultaneously. One example would be: when performing a pinch gesture with 2 fingers, I put down one finger, keep the finger on the screen, then put down another finger, perform pinch, lift up both finger at the same time. In this sequence, touchesBegan is called twice with each touch in one of the calls and touchesEnded is called once and has 2 touches in the callback. To handle this issue, we added a count to count the touches in one touch sequence. We only set the state to fail when the count reaches 0(That is all the touches has began in the current sequence is ended).
7d8ffe0daf Eliminate uses of old AST node types from pkg/analyzer/lib/src/test_utilities
2e463506b7 Read more nodes from serialized AST.
e91c3b3ab4 Update pkg:html version to 0.13.4+1
819f44532c Eliminate uses of old AST node types from pkg/analyzer/lib/src/task/strong
095e651ff2 Eliminate uses of old AST node types from pkg/analyzer/lib/src/services
2c087433db [co19] DEPS and status files updated
b095a6be8e [infra] Update checked in SDKs to 2.2.1-dev.0.0
f46186ac49 [infra] Fix update_flakiness using wrong key when computing matches.
03e46ee969 [infra] Add expectation and matches information to flaky.json.
15f1fc212c Add a flag to allow only analyzing project folders that contain open files
bc2b78886d [CFE] handle set literals in constant evaluator.
2b2e71770c [kernel] Add SetConstant node to Kernel.
084e98e3a3 [VM] Ensure that a newly allocated object is either new or added to remembered set if we want to eliminate write barriers to it
95cfa6c583 Support native class and js-interop annotations through ir constants
62d22083ac Flatten native member resolver
053dfbb2ac [cfe] Compile list spread elements into block expressions
1e0d514469 Address comments from a previous CL
156790474e Allocate fieldOffsets once, in computeFieldOffsets().
4a144e631f Fix production of outline for incomplete generic function types (issue 36059)
4bd3e4b561 Write more AST nodes to summary.
fa2d32e80a [ddc] Add api to query loaded libs
5a335957f2 [analyzer] fix#33119, add strict-raw-types flag
76d31a251e [dartdevc] fix hot restart static field reset
2f158b9997 Add ABI_VERSION to the version file and a script to upload dills to CPID
0491d5cde7 Revert "[VM runtime] Dual mapping of executable pages."
5f9bd87689 Eliminate uses of old AST node types from parts of the analyzer
38d675287c Eliminate uses of old AST node types from parts of the analyzer
df59b09756 Fail early if a thread has no stack headroom
44186dfdcd [VM runtime] Dual mapping of executable pages.
298866ed94 Write / read resolved AST to / from flat buffers.
863f7df7aa Include debug info when dart:core is not resolved.
f00fe7a289 Rework of downward inference for the ui-as-code features
1a9f40b1c5 [VM] Remove unnecessary assert to fix cc/PrintJSON test
c2a48ee065 [VM] Fix bigint left shift that could cause heap corruption when intrinsified.
9201b906ee Convert ir.Constant to ConstantValue
dc555eb9a7 [vm] On Fuchsia, enable timeline streams based on the state of system trace categories.
644026da51 Eliminate uses of old AST node types from AstFactory
c35304ef18 [vm/simdbc,interpreter] Preserve arguments descriptor around call to inline cache miss handler
a681a6297a [vm/incremental compiler] Add reject/compile_expresson test for incremental compiler.
ce1fb830d0 [infra] Suggest running gsutil.py config in approve_results if needed.
2c8f70cde3 [cfe] Add type inference for spreads in set literals
b36c56ff84 [cfe] Add type inference for spreads in list literals
e4aa4325b7 [fasta] Enable spread collections in unit tests
1471b8e444 Revert "[CFE] Move constant evaluation number semantics handling to front end."
6e06047004 AST to Text more resilient in writeAdditionalExports
c2b466b09f [CFE] Move constant evaluation number semantics handling to front end.
b60b664b16 [infra] Make gclient sync quiet when nothing is updated.
9a0a3fd8c1 Eliminate uses of old AST node types from analyzer_plugin
ba4cfb8613 Initial computation of initializer complexity through the scope visitor.
15515d86e3 Reland "[analyzer] Constant verifier support for SetOrMapLiteral"
9bec44d1e2 Revert "[analyzer] Constant verifier support for SetOrMapLiteral"
d73bc49420 DEPS: update html, http_parser, logging, package_resolver, source_span
9c6315c199 [analyzer] Constant verifier support for SetOrMapLiteral
67366ed771 Support for @Variant and @VariantId in generator.
16fc751e49 [fuchsia] Clean-up after the FIDL string/vector types transition
1d3a0d5129 Revert "[vm/ffi] Stress tests for FFI functions."
24df9cc588 [vm] Implement interpreter stubs for ARM, SIMARM and SIMARM64.
e8d6e2f704 [ VM ] Updated SourceReport tests with correct token positions
19dbd70363 Catch errors in formatting function types
2259695037 [vm, gc] Document object representation.
223f407af5 [gardening] Skip ffi/negative_function_test on asan bot
c2e48195f0 Rename UiAsCodeVisitorMixin to UIAsCodeVisitorMixin
48ee388791 Fix a typo in a shared test
545ebe1741 Prepare to publish analyzer 0.35.3
17195d2667 Eliminate uses of old AST node types from dev_compiler
a417659fcd debug dartfix test
a10b0d8763 [vm/compiler] LICM and CSE improvements
ff6f61c872 [VM / Observatory ] Remove needless stacktrace print when adding to closed socket
a51c9f15cc Make optype compatible with previous versions of analyzer.
a2eac98753 Merge HintCodeTest_Driver into HintCodeTest.
9d609426b2 [vm] Update status file for standalone_2/ffi/function_stress_test
bab9d2ad05 [vm] Remember GenericCovariantImpl in TypeParameter
3dcc0c69a1 [vm] Fix windows build after "[vm/ffi] Stress tests for FFI functions."
1596f437bd debug dartfix test
fa8ba53b52 [infra] Add a script that appends fields with previous results to result data
b186a270e4 [vm/ffi] Stress tests for FFI functions.
7dec865054 Add set literal support to the flutter outline computer
Previously the transformation matrix returned on semantics nodes was
fetched by matrix col,row (incorrectly). This uses the SkMatrix
constants instead and adds a test.
7c70ab1817 Revert change that empirically doesn't improve code for dart2js stopwatch.
895bc90509 Sync pub client to newest version
39f365f3b9 Sort declarations in parser.dart.
8af83b19d6 Sort declarations in ast_builder.dart.
0adddfbeab Eliminate uses of old AST node types from analysis server
120328aff7 [fasta] Commandline option to enable asserts
82c5c5bbb2 [fasta] Only read compiler context at construction in kernel_target.
9a4c49f301 Update field analysis tests to prepare for eager initializer improvements
75370569fc Fall back to DillLoader when computing types in SourceLoader
78ba3dab7a Rename ImplicitType to ImplcitFieldType
1720704594 Recognize effectively constant static fields
ba31e448ca Finish implementing IsIntersectionSubtypeOf
5f095b7039 [Fasta] Add support for spread in map literals
3b8591d13e [ddc] Initial impl for invoking service extension
ae70ce855f Include the completion suggestion labels as explicit relevance tags
50ab52d567 Use raw is-check when type arguments match the bounds
d650c619e2 more postfix "!" non-null assert operator tests
a3ab6b6514 [vm, gc] Reduce cost of maintaining allocation stats during scavenges.
36c14db2d3 Only refine non-null in SSA
a1349ac529 Remove childEntities and visitChildren from ForEachStatementImpl and ForStatementImpl.
31993bf1b5 improve expression function body recovery
1c477ad3aa Refactor downward inference to improve recovery
8f12d634fe add postfix "!" non-null assert operator
ab10fb12dc [vm/interpreter] Reduce stack usage of interpreter
ffc1383918 Move tests of five more analyzer codes to diagnostics
a6b76df8d8 Add flag to re-run global inference when reading a data file.
b04cb2f5e7 Don't create instances of ForStatement2Impl yet.
82a15835f0 Short-circuit logical operators in constants
7829012e61 add new ExperimentNotEnabled error code
1e2211bbb6 going to go ahead and just revert this. I don't think it is at all critical. Thanks for noticing the build failure Paul!
01cc5a6305 Ensure unknown fields in LSP payloads are ignored
d7a7de31bf Update dartkb test expectations
0e9d97498c Add some notes on using Dart LSP with Vim
a9ef31ba43 [Fasta] Add Kernel syntax for spread elements
b79e2a8882 Fix equivalence/show_helper
Some embedders prefer to minimise the number of semantics node/custom
action updates sent back to the host platform -- for example due to
expensive serialisation mechanisms, etc.
This patch provides a 'batch end' signal that provides embedders with an
indication of when a self-consistent set of semantics node or custom action
updates have been sent.
We overload the node/action ID with information that conveys a batch end
by using an ID (-1) that is never allotted to semantics nodes by the
framework.
40bab34fbd Fix Stopwatch timers to not overflow on intermediate computations.
edcaa05375 Support @pragma('dart2js:noElision') on non-internal methods
dc8a56bc0e Rename set literal tests to end in _test
f484e1b05e Call canParse() for all LSP requests before passing to handlers
0e54ce3b2d Fix a canParse method that would overflow the stack
8fb52650e5 Ensure LSP canParse type-checks optional values
26d91cf4b6 If LSP initialize fails in tests, throw
d1876531f2 Fix LSP canParse to allow nulls where the spec allows
9450c6d829 Move SUBTYPE_OF_SEALED_CLASS to own file, and DriverResolutionTest
603678e46c [vm, gc] Streamline the promotion allocation fast path.
8fd09304b6 [vm, gc] Force inline MarkObject into its sole caller.
fb88c983e7 [vm/compiler] Switch kernel helper for background compiler to use new space.
6d575152c9 [vm/compiler] Changes in Cid range computation
2d58ea3b42 [dartdevc] fix#35554, throw NullThrownError when null is thrown
25aa35ef98 Convert ast.dart to triple-slash comment style
b11cb39d66 [DDC] Support implict casts in [ForLoopStatement2]