72 Commits

Author SHA1 Message Date
Dan Field
c96714ac5d new lints (flutter/engine#8849)
Dart lints added:
* Avoid optional new
* Avoid optional const
* Prefer single quotes
* Prefer default assignment `=`
2019-05-07 16:10:21 -07:00
Chinmay Garde
1a7c5d7bf3 GN Format all files in the engine. (flutter/engine#8369) 2019-03-29 12:44:57 -07:00
Siva
10e8160c17 Roll src/third_party/dart 1bd36d694d..674fd0e060 (48 commits) #8152
674fd0e060 [vm runtime] Dynamically disable dual mapping of code on some platforms
0bd674c374 [VM-Runtime] set environment when creating detached process
578fdb0408 Call becomeMap/becomeSet() in AstCloner.
382cd59388 Update completion target tests for new map syntax
1db664764a Revert "Copy abi dills in create_sdk build rule"
a39833d957 Reland "Reland "[VM runtime] Dual mapping of executable pages.""
49a0502f49 Copy abi dills in create_sdk build rule
23eb57c2bf Revert "[vm/ffi] Support Windows 64 bit"
22c2c7ffd8 Sort declarations in build_mode.dart
e2b5559c77 [infra] Use gclient.py to apply patches to bypass update_depot_tools
f4b524cdf1 [vm] Extract reading of parameter covariance attributes
16e40cef2f Generate a diagnostic when a set or map literal is ambiguous
b89d08355b [infra] Only move coredump files on shards
7f812dea1a [vm/ffi] Support Windows 64 bit
469da726d6 [vm] Put covariance attributes into Field flags
09087490e2 update hasFix lookup table
bb7b5fcd37 add missing fix tests
48a5c3825a assist to convert to absolute imports
b3927f66df [gardening] Mark tests that crash as crashing
2d6ddf2aff Remove unnecessary override from PartialResolverVisitor
ba3b9b3b65 Sort static_type_analyzer_test.dart
1edc6d4b4d [infra] Fix approve_results not erroring properly if tryjobs lack results.
1a196d43a7 [VM/AOT] Execute catch-entry moves in parallel (our AOT doesn't generate non-cyclic moves)
6a2aa920cd Support pragma annotations through ir constants
d3d077090d [VM/FrontendServer] Add 3head patch to frontend server after breaking API changes
016e3172d1 Default parameters, more metadata, import dart:core.
853d38896e [VM/AOT] Fixes incorrect deserialization of catch entry moves
3cf7d6a9c7 [tests] Changing expected cast errors to type errors for collections tests
b87c44d6b3 Generate diagnostic for non-bool conditions in if elements
74395d940f Comment out test_import_short_absolute that fails on Windows.
7c1544898d [vm] Decouple flow graph building of implicit getters and setters from kernel reading
57f4da318c [vm, gc] The mutator's TLAB and the interpreter's lookup cache must be visited even if the mutator is unscheduled.
15842d4583 Build more import scopes, support for enums.
f2029f54cd Fix type inference of map/set literals when the context is a type parameter.
11b9481403 [vm/frontend] Fix frontend_server_test on Windows.
bfb30bffe0 Fix a bug in the ConstantVerifier so that conditional elements are lazily verified
ed1f956991 Fix the abi dills download script
8f03ae05ff [infra] Add --list-configurations option to test.dart.
9faca2fa68 [vm] Document lifetime requirements of arguments to Dart_TimelineEvent.
295ea59385 [vm] Give functions compiled through Dart_LoadCompilationTrace a non-zero usage counter.
def0b21225 [infra] Fix test.dart saying untested configurations don't exist.
abd1854176 Fix recording of map/literal context type.
a8b3461f2e New summaries work snapshot.
9e7627b6a1 Re-land "Eliminate uses of old AST node types from pkg/analyzer/lib/src/summary"
210361ae63 Move IgnoreInfo out of the task model code base
440b4cd84e Insert implicit casts when setting interface targets
567d552de8 [infra] Add versionchecker and debianpackage to test matrix
576c4c71d9 [CFE] Always clone subexpressions of unevaluated constants.
2019-03-13 09:23:57 -07:00
Michael Goderbauer
0def82ddb0 Unify copyright lines (flutter/engine#6757) 2018-11-07 12:24:35 -08:00
Jonah Williams
c399a0df45 Add build targets for fuchsia (flutter/engine#6470) 2018-10-09 10:55:07 -07:00
Jason Simmons
ae9d172764 Update FlutterFrontendCompiler.rejectLastDelta to match the signature in CompilerInterface (flutter/engine#6426) 2018-10-04 10:06:17 -07:00
jensjoha
a854ed8780 Pass on the new unsafe-package-serialization option (flutter/engine#6331) 2018-09-26 08:34:49 +02:00
Jason Simmons
fe75ce3702 Fix the frontend_server test (flutter/engine#6261) 2018-09-17 10:07:47 -07:00
Ben Konyi
cdcdc34206 Dart SDK roll for 2018/09/07 (flutter/engine#6201) 2018-09-07 14:45:13 -07:00
Ben Konyi
cafc12cbc4 Revert "Dart SDK roll for 2018/09/06 (#6189)" (flutter/engine#6192)
This reverts commit 2445a6e8e9c550aae04106cbc938481a14ca5e69.
2018-09-06 19:09:30 -07:00
Ben Konyi
2445a6e8e9 Dart SDK roll for 2018/09/06 (flutter/engine#6189) 2018-09-06 15:52:04 -07:00
Siva
dcdada2680 Roll Dart to version ccb16f72824374163562364bf19dd18e8a882fab (flutter/engine#6065)
* Roll Dart to version ccb16f72824374163562364bf19dd18e8a882fab

This roll includes the following changes :

* Roll engine to version ccb16f72824374163562364bf19dd18e8a882fab

ccb16f7282 [VM] fix the arguments of training run of kernel-service to      turn
 on strong mode and sync-async on by default.
41e720b486 [vm] Add support for a new source file format kernel file lists.
306141999d Update testing for unresolved invoke types.
34e6aa8ad2 Fix mock SDK and front-end targer in analyzer.
5d86b5e1b0 [vm/kernel/bytecode] Share contexts between scopes in bytecode
1b5d273fd7 Fix analyzer/FE integration of assignments to ambiguous types.
4a4132ccab Change code ranges for fields/variables.
d1bd887d03 [VM/SDK] Switch kernel isolate to run in Dart 2 mode
bfd86e5b22 [vm, gc] Make bypass_safepoints on helper threads sticky.
f69d2fd096 [VM runtime] Fix build. Missed one reference in previous commit.
f0169f4fe0 [dart] Remove usage of ConnectToEnvironmentService.
14f3982a1f [VM runtime] Remove broken LongJumpScope::IsSafeToJump().
e87efdffb4 Fix analyzer/FE integration of assignments to ambiguous types.
4445ad1707 Support custom --multi-root-scheme flag, and --multi-root arguments.
Also pass the custom scheme to jsProgramToCode to fix placeSourceMap calls.
8c82098b39 Remove special ignoring MissingImplementationCause.
4004194c29 Clean up super calls in swarm.
d06f4f807f Refactor parsing top level keyword declarations
569290dbf5 Revert "[vm] Use multiple entrypoints to remove unnecessary checks on
 statically-typed closure calls."
ceace12724 dart2js: Work-around for imprecise calledOnce info
d10204f3a0 Fix analyzer/FE integration of assignments to non-l-values.
8b125b55d0 Add an AST structure for the new mix-in support
19126e861e [vm] Use multiple entrypoints to remove unnecessary checks on statica
lly-typed closure calls.
0093885165 Issues on co19_2 missing compile-time error failures
a95db177b8 Fix VM status after language_2 triage
fe939f9433 [vm] Update status file after entrypoints change (again).
ee6ef702ce Update issues for Fasta missing compile-time errors in language_2
b7790e3147 [VM] Make all of our compilation pipeline use a [FrameLayout] to gene
rate code
2a36502b02 Squelch some false warnings for disallowed uses of void
244c9bebec Remove STRONG_MODE flag
814738b273 Remove CompilerOptions.strongMode/enableTypeAssertions/trustTypeAnnot
ations
d7c71862da Check setters in Dart 2
bedc1440d0 Analyzer: replaceComponent: Add small to big instead of the other way
 around
a814614cf4 Fix analyzer/FE integration of invalid assignments to classes.
701b13048b [vm/kernel/bytecode] Zap expression stack in try-catch handlers
7f88b64e0a [vm] buffer size based log flushing
dec1da2437 [VM interpreter] Bytecode reader should make const list immutable.
51bed8a0ed [test matrix] Add back --compiler=dartkb
1f5f197e90 [VM] Do not start the kernel isolate when doing an app JIT snapshot t
raining run if a kernel file is specified as the application.
9bf9822bec Increase a timeout for a slow test.
5e0a28a384 [vm/kernel/bytecode] Support unsafeCast() intrinsic method in bytecod
e
2cca4415b1 Replace Deprecated.expires with message
844b7a9c40 [Test] Add test case for capturing variables in nested sync* closures
a37496d24d [VM interpreter] Fix native call to growable list factory.
47332ae3cb [vm] Update status file after entrypoints change.
b97f885d1d Revert "[vm] Deep clone context when cloning closure"
f88582e74f Improve wording in invalid return spec per comments.
fc24d41b47 Fix status file for super_call4_test/01
2e22f7b247 [vm] Fix a bug in the field exactness tracking state machine.
dea7de23bd [vm] Use multiple entrypoints to remove unnecessary checks on calls a
gainst "this".
c082761e09 [vm/compiler] improve type progagation
2018-08-21 22:06:48 -07:00
Martin Kustermann
9374aa15fc Roll Dart to version be6309690fd60284a87f3258a740c7c30efb1092 (flutter/engine#5987)
This rolls includes the following changes:

be6309690f (HEAD) Analyze pkg/dart2js_tools on the bots.
6f9073bb9d Wait for Analysis Server errors only while waiting for a response.
5d4e85ba3d Allow `x == null` to be a constant value whenever x is const.
7c77ed04f4 Move deobfuscation tools to the SDK repo
666c8c1a89 Fix @visibleForTemplate tests on Windows.
6fc1dd4480 analyzer_plugin no implicit-casts.
29401573d5 Get documentation comments before metadata as well.
3d0a663518 [vm/frontend-server] Fix frontend_server so that it can be tested.

* fix analyzer hint

* use --enable-asserts instead of --checked
2018-08-10 13:42:44 +02:00
Alexander Aprelev
d9bf29c2ae Roll dart sdk to 64641d014b77bd410e9aa10558522ae26e4210ee (flutter/engine#5610)
* Roll dart sdk to 9c7cd04e7f285c3e74f54def9f91dbdd1a18b1ba.

Changes since last roll:
```
9c7cd04e7f [ VM / Testing ] Disabled non_utf8_* tests for FileSystemEntity classes
5c9e9a6661 [gardening] Update status file
5a193752f6 Clean up some hints
e67c5953e9 Relax return restrictions.
a9c624a010 [infra] Update checked in SDKs to 2.0.0-dev.65.0
12971f37a9 Update dart_style package to 1.1.0 in DEPS
f67308a983 Handle invalid dill files more gracefully
9aa0c4ae3f [release] Prepare changelog for 2.0.0-dev.65.0
9a8b5f3bc2 Update app_jitk service status
a16ad6d9de [infra] Make update_homebrew script work on Dart2
014a5bc678 Replace strstr with strncmp looking for path separator
d2d47acdce [kernel] Include urls even when we have no source
5f17b0a0be Convert ShadowMapLiteral to MapLiteralJudgment
2c98fb3c1d Add tests showing the async impact on function type checks
8e4d5c0a38 Update formated error for nonexisting constructor
a8e930caf3 Add ClassHierarchy to share code between J/KClosedWorld
c9bd4df214 Document IntLiteral.value as holding a uint64 value
56d57407e1 Fix status for new test
ed20faa2ed Add test for rejecting inexact numbers
31ed467871 Fix directory-prefix finding logic so it works on Windows.
2d6eaba187 pkg:build_integration: clarify that' it's not planned to be published
f67cba1067 [vm] Introduce kernel_multiroot options to support multiroot compilation mode in kernel service.
2876bd08fb Doc - Fix OSError.message and errorCode doc
c97f177112 Issue 33518. Fix for subtypes() in parts without library.
e661c9ef54 Simplify 'as T' for simple T
65a3c4443b [observatory] Update packages and remove dead dependencies.
b15572933d Update checked-in Dart SDK to 2.0.0-dev.64.1
9d3533ff72 snapshot the kernel worker in dart 2 mode and fix some dart 2 errors
b29bde6232 Convert ShadowSyntheticExpression to SyntheticExpressionJudgment
2876623654 Check function types in the correct order in runZoned.
6d25212302 getStats Future should be strongly typed.
ca99917fb6 Remove code awaiting void results to unblock #33145
19f60bfb52 Improve fasta parser expression recovery
d632980ee0 Add tokens to more judgements
5721d8af6d - Fixed querySelectoryAll generic syntax to assert if types in list aren't of the same type T. - Fixes requestFullscreen to call operation webkitRequestFullscreen not requestFullscreen its only available when RuntimeEnabled=FullscreenUnprefixed.
3640037164 Fix second half on #33343: disallow generic functions as type arguments.
97c81d668a Remove variableSet factory methods.
98efc7917f Improve parse assert statement recovery
a93e303f3f [vm/kernel/bytecode] Bytecode generation for rarely used operations
a0ba81bfe7 Convert ShadowCascadeExpression to CascadeJudgment.
de4d8b6cae Convert ShadowSymbolLiteral to SymbolLiteralJudgment
13c3560fc6 Count analyzer cfe integration failing tests.
77f94ec259 Convert ShadowLogicalExpression to LogicalJudgment
1a0fc733d3 Add tokens to more judgements
81191186d8 Remove unused class
284b5cce55 Partial fix of #33343. Reject generic function types as bounds.
ada8188b73 Update pkg/pkg.status with the latest -DuseFastaParser status.
e232ddd28c [VM] Handle [VariableGet]s for parameters/let variables differently than other const variables
5d4dbdac5c Adjust stringContentTDQ, stringContentTSQ to allow escapes.
b27b62e182 [fasta] Update .expect files for non-simple bound tests
aeff1c00f2 [vm/compiler] Improve CallTargets::CreateAndExpand
2ff5f8cfcb [VM] Report an error when accessing constructor parameters inside a constructor invocation
2f474a55c1 Change infer to return the expression instead of its type
b9f11311f8 [vm/compiler] Fix incorrect assertion from 20ca5bbb056.
f85fbde727 Expression compilation fix
6240dd5cc3 Make incremental_load_from_dill_test dart2 compliant
8747da838f Bump kernel version after e2ce88d
20ca5bbb05 [vm/jit] Introduce dynamic invocation forwarders that perform type checking
f9a11ec380 [gardening] Mark language_2/const_constructor_nonconst_param_test/01 failing in dartkp
212a817322 Check whether variables is set before using GN not_needed
f381778867 Update the status of analysis server tests.
8b10b1fda9 Add tokens to judgements, part 2
8c1591af9e Add a binder mechanism to the Factory API for handling labels.
e132240c91 Re-enable some failing analyzer_cli --use-cfe tests.
f598e6933c Drop support for Dart 1 in pub
9146cea63a Print times in seconds
ec0df457a2 Convert invocation Shadow(s) to Judgment(s).
223b143167 Workaround for issue 33559.
091f8860c2 [ dart:io / tests ] Fixed issue where non_utf8* tests attempted to delete the current working directory which is not allowed on Windows.
9276b27acd Add unittest for InferenceData
70ac1f90ec Revert "Update checked-in Dart SDK to 2.0.0-dev.64.1"
c270576dd4 Use FunctionNodeJudgment in FunctionExpressionJudgment.
aeba82ef9a [dart2js] Fix for issue 33572
1416ed283a Convert ShadowNot to NotJudgment.
a1a2d90a6c Convert ShadowForStatement to ForJudgment.
7c6211b1d8 Make unittests work with Dart 2
a8d805055a Handle covariant parameters in function types
b24170259c Don't add parts without 'part of' as libraries.
fea8cb1473 Revise order of type variable declaration events
6339976567 Rename lemma to binder
9d499fffe4 Start adding tokens to judgements
ff7a1255aa Convert ShadowFunctionDeclaration to FunctionDeclarationJudgment, add FunctionNodeJudgment.
5bfb70ec5b Docs - Update example websockets app; use idiomatic async/await in examples
ed0ba901e1 Doc - Fix library links in analyzer docs
4c697085be dart2js: Make bazel-input-provider dart2 compliant.
9b814bdf34 Use the lemma approach for NamedFunctionExpression
7c0d31092d Rename variableLemma and variableType to clarify that they refer to the loop variable.
b36f353f76 Update dartdoc to 0.20.1.
eafa9ae4b6 [vm/kernel] Fix StreamingConstantEvaluator to handle non-const variables
3e2708eada [VM interpreter] Fix broken interpreter build.
94abf948c4 pkg:status_file misc cleanup
02721709c3 Fix a committed solo test and mark it as passing now.
c8a488c1ca Add parameters to Forest method to support labeled statements
c4d6ac0cbe [vm/compiler/aot] Implement non-speculative int64 shift operation
3af363cba0 Rename typeContext to inferredType
10dcad1dd2 pkg:kernel - cleanup pubspec file
7e7fd7ffa5 Convert ShadowLiteralList into LiteralListJudgment
4fe71ec275 [fasta] Report instantiate-to-bound failure due to non-simple bounds
121fed2840 Convert ShadowDeferredCheck to DeferredCheckJudgment
e2c54e9af5 Fix cascade specification.
d08317b79f Make status file linter valid Dart 2 code
f4d2bf313e Convert ShadowFunctionExpression to FunctionExpressionJudgment
6888bc2824 Compile time error for web int literals that cannot be represented exactly
075c713a93 Register type arguments on inlining
4ebdb31646 Separate getOutline() and getResolution() in FrontEndCompiler.
6a7bf90c42 Convert ShadowRethrow to RethrowJudgment
7661841cc5 Convert ShadowNamedFunctionExpression to NamedFunctionExpressionJudgment
6fd40725af Convert ShadowIfNullExpression to IfNullJudgment
7c327c32b7 [frontend-server] Fix starter so it works in '--incremental' mode
f885a0c8f3 [vm/kernel] Fix crash when reading symbol literal from Dart annotation
16c0c0ff07 Convert ShadowStringConcatenation to StringConcatenationJudgment
d0655066a5 Use the lemma approach for other variable declaring constructs.
2121c3bb56 Docs - Link to the Random.secure constructor in dartdoc
975686d5a9 [syscalls] Use vmar..._old apis. Modify existing calls to vmar routines in preparation for changing the parameter order.
7d7e7c268e [vm] Work around interaction between type and instance canonicalization in isolate messages.
fa7c38dec5 [vm, standalone] Do not copy when loading kernel.
8d7c5294c6 Rename the kernel ShadowExpressions for assignments
47f394d61c Update checked-in Dart SDK to 2.0.0-dev.64.1
efd36d4cdf Updated non_utf8_* tests to better cleanup after themselves. Fixes issue
d1e1af84e7 DEPS: update crypto version
530f1f6512 [build] Possible fix for 'Error while initializing Kernel isolate'
e9bc3352e0 Replace and remove parseType
1b681a75c3 Modify Factory API to allow forward references to incomplete local functions and variables.
f682213764 Add parameters to Factory methods to support the try statement
cf6fbd9e07 Add parameters to Factory methods to support the switch statement
b50ff4990a Add parameters to Factory methods for list and map literals
c5855635ae Add Factory method parameters for for loops
c2a22c6462 Updates to ddc/ddb tool
1a1ff9e666 Reverse the pub snapshot names
d5d5daf411 Fixed cascade_test failure due to return type of operator []= being non-void.
69c807c636 Fix docs for async File methods
569341cbe0 Improve CompressionOptions docs:
8d40afc9c0 Convert ShadowTryFinally to TryFinallyJudgment.
4a9abfcacb Convert ShadowForInStatement to ForInJudgment.
f2eaf6aae7 Remove type parameters from the Fasta BodyBuilder
74dd5440f1 Convert ShadowStringLiteral into StringLiteralJudgment
10641cbf42 Update status files after 52b2a869bcb93
ee19f2804a Make ResolutionStorer implement the Factory API.
e2ce88dfcc Add startFileOffset on procedures et al, enable VMs GetSource
52b2a869bc Update some noSuchMethod based tests to the currently desired behavior.
bf4f9a9163 Update testing scripts to run on a Dart 2 VM
8638668ecf [VM] Fix vm->native state transition in isolate_reload.cc
71ac67aed1 [kernel] Recognize noSuchMethod forwarders in class hierarchy analysis
216e8dfe85 Stop using !kernel annotations
3e85df5167 [ VM / Dart API ] Added additional methods required for Flutter background execution.
fa19575a54 [vm/kernel/bytecode] Inline list of types into TypeArgumentsForInstanceAllocation constant pool entry
c37bbcca7f Roll pub to the latest version.
abc8793109 [VM interpreter] Adjust bytecode constant pool reading for inlined list of types in TypeArgumentsForInstanceAllocation entry.
8d3eb154e9 [vmservice] Report expression compilation errors
b28ebca825 Begin reworking ResolutionStorer API to look more like the Factory class.
f6871d2305 [vm/kernel/bytecode] Fix generation of InstantiateTypeArgumentsTOS bytecode
272848fe0f Convert ShadowWhileStatement to WhileJudgment.
5ccc497678 Inline constructor bodies that are called once
4df14626b3 Add parameters to Factory methods for constructor initializers
dce00bc836 - fix a strong mode type error - mark a test as slow
83a4d98554 [vm] Weaken CAS to RMW when accessing the remembered and mark bits.
e76fbee90f [VM interpreter] Provide arm64 stubs. Minor cleanups.
a3dde1fad8 Convert ShadowSwitchStatement to SwitchStatementJudgment.
e8323f578c Convert ShadowTryCatch to TryCatchJudgment.
6182b7215d [vm/kernel/bytecode] Fix passing of type arguments
b343d0a80d trigger error for const A(B()) if B non-const
06a588233c Fix package_root_test.dart on mac buildbot.
8419090c8c Cleanup type variable event sequence
8da640704a [vm/linearscan] Reserve slots for catch block entry when nothing is spilled
80a8bfe657 Convert ShadowExpressionStatement to ExpressionStatementJudgment.
2f664c141f [vm] Shorten the write barrier sequence.
b6aa31f7d8 Add required parameters to Factory.catchStatement
34bbb1da30 [Gardening] Move status line to the correct section.
68ecf31fc5 Update CHANGELOG.md with text for the default switching to Dart 2.0.
e15b6a1cd7 Add parameters to Factory API, part 2
85c27d78c1 [Gardening] Removed incorrect entry in the status file.
2edbfd95a7 Convert ShadowVariableDeclaration to VariableDeclarationJudgment.
075027b130 Added super_no_such_method5_test also to the issue list for 33517
254d8ef153 Switch ShadowYieldStatement to YieldJudgment.
64fd6653cf Update deprecated references.
13fb4da312 Convert ShadowIfStatement to IfJudgment.
71042d3dfa linter 0.1.54
e9f994892d Cleanup unescape error messages
7b68a4516f Wrap Let with ShadowSyntheticExpression in wrapInLocatedCompileTimeError().
7d9ac9dca5 Add a --use-fasta-parse flag to test.py; add a 'analyzer-use-fasta-parser' buildbot configuration.
591cf85c76 Re-enable the old analyzer/FE integration logic.
9bd3350f1f Convert ShadowContinueSwitchStatement to ContinueSwitchJudgment.
92f353fe29 Convert ShadowReturnStatement to ReturnJudgment.
462d2a35d3 Convert shadow nodes for 'is' and 'is!' into inference judgments
a3a8d8bbd5 [VM][kernel] Don't mix in noSuchMethod forwarders
6612278b71 Skip non-utf8 file tests on reload builders, where they time out
125fae6d56 Incorporate comments from an earlier code review
188c858a4c [gardening] Fix standalone/app_snapshot_share_test
1c4b362ba5 Support noSuchMethod forwarders in dart2js
276598199e Make DDK interpret IntLiteral.value as uint64
a049e340eb Revert the fix for issue #31770
d4a69bde98 app_snapshot_share_test now runs only in dartk and dartkp mode.
75f485d6d9 [dart2js] Fix for issue 33500
828df76c85 Notify kernel service of isolate shutdown.
a36fbd1990 Skip app_snapshot_share test in precompiled dart1 mode as the test spawns a dart process which runs in Dart2 mode and hence needs a kernel file generation step to run. This test now makes sense only in dartk and dartkp modes.
6dfa10d33d Generate the kernel buffers using bin_to_assembly rule instead of dill_to_cc. This should fix the clang tool errors we are seeing.
8da46d35f5 [vm] Move heap-related code to its own subdirectory (cf. compiler).
2f3c983e0a Convert ShadowStaticGet to StaticGetJudgment
acd375cc77 [gardening] Silence flaky test which times out on simarm64 bot
3becdb8afd Convert property gets to judgments.
9db4b71442 Convert ShadowIntLiteral to IntJudgment
37084e677c Convert ShadowDoubleLiteral to DoubleJudgment
d84d3f8e42 Convert ShadowNullLiteral to NullJudgment.
3a2a84db9c Improve misplaced factory/modifier recovery
3586fcb165 Cleanup deprecated code
eac395c33d Add parameters needed by analyzer to Factory, part 1
edcd3be290 Update aot_assembly rule to temporarily use --no-preview-dart-2 until it is updated to call gen_kernel to produce a kernel file before creating the AOT snapshot.
3d96683a88 Convert ShadowDoStatement to DoJudgment.
8e8fb38c48 Convert ShadowBlock to BlockJudgment.
b71fb2e086 Convert ShadowBreakStatement to BreakJudgment and ContinueJudgment.
c96f23243b Enable Dart2 in dart2js by default
6b96e65c5b Convert ShadowArguments to ArgumentsJudgment.
437b492042 [gardening] Update status for reload-kernel bots
a3a1113cfd Convert ShadowConditionalExpression to ConditionalJudgment.
5b2871ae88 Ensure that constructor invocation file offset is set correctly for annotations.
bedbdf6a49 Add a Type parameter to Factory and update one method
119236996a [build] Remove tools/compile_platform.py
ddde9820a9 Improve fasta parser parameter list recovery
f5a0e3efa8 Create NamedExpressionJudgment.
165c57ffd7 Attempt to fix the windows bot 3
bb1fcebd36 [dart:io] Expose Crypto::GetRandomBytes in embedded_dart_io.h
23f87d54c6 [vm/kernel/bytecode] Implement strong mode type checks in bytecode
1e7d39504f Convert ShadowLabeledStatement to LabeledStatementJudgment.
d895b49134 Support asset directories in flutter pubspec validation.
015d9eff49 Use ShadowEmptyStatement instead of EmptyStatement in blocks.
029ff9361f Track which import is referenced by each prefix.
92c24a1ee7 Skip sample_extension_app_snapshot_test on opt-counter-threshold builders
33d41a928a [VM] Fix incorrect memory allocation
f3960a0111 Fix language_2/vm/optimized_guarded_field_isolates_test
e496efb611 [VM] Adjust status file after 6db5f38d4ee4d
ef49436487 [fasta] Update expectation files after noSuchMethod forwarders change
049195b15d Fix path to entry points json file in app_snapshot_share_test
b024432a29 [VM] Disable test in reload/rollback mode due to snapshot generation
6db5f38d4e [fasta] Don't generate noSuchMethod forwarders in abstract classes
7979232580 Re-added header, only needed to remove the other resource section.
a38b9bed23 Restore dart2js-checked and dart-aot in try_benchmarks.sh.
7be47cd30d Remove some dead code (including implicit setters)
1c01aa7704 Convert some ShadowExpressions into inference judgments
6e6bdb486a Ensure we run app_snapshot_share_test
d7e5332057 Make dual use of a part in the same program an error.
856c7c67ea Skip standalone_2 on !strong configurations (for JIT / AOT VM)
ba024be044 Mark dart2js specific argument as deprecated.
20fe2f0ada Indent error pointer correctly in the presence of tabs.
bd94de8e48 Use dynamic to fix string_interpolate_test
b172a42881 [VM] Catch errors for integer operations in kernel2kernel constant evaluator
f288124d5a Fix InvalidInlineFunctionType example
15821a28a3 Explicit type args in body_builder
1f6925718b Add message for missing type arguments
87e045c484 Remove the helper dart script from our browser test framework
532b9aaa93 Flatten *WorldBuilder hierarchies.
f1d44e39fa Update status for passing Windows Firefox co19 tests
efb4f69a13 Adjust simarm status.
1a443da6ad Adjust options passed to precompile runtime.
f8caffd9e6 Remove some uses of Platform.packageRoot.
ebe2f1db2c Adjust status files.
6fcc95d2a4 Adjust status files.
f2f6ebf547 Convert ShadowAssertInitializer to AssertInitializerJudgment.
ea837c91a0 Transition tests to EvaluateCompiledExpression.
3e6e2dd7f4 Convert ShadowAssertStatement to AssertStatementJudgment.
27fefd7bb3 Convert ShadowAwaitExpression to AwaitExpressionJudgment.
dd1c54c442 Convert ShadowBoolLiteral to BoolLiteralJudgement
4a353fea35 Another attempt to fix tests on Windows
a69d922794 Adjust some of the test expectations based on the flip to Dart 2 mode.
b3b8ca6dc4 Remove the --package-default-analysis-options flag.
9943547d5d Default pub to Dart 2 with opt out
aba94f051e Convert ShadowAsExpression to AsJudgment.
bc7220a4fd [VM] Turn dart2 on by default on the command line VM
cdd2553a12 [vm/kernel/bytecode] Fix null handling in operator ==
df2bf6590d [VM runtime] Minor cleanup of stubs on all architectures as already done for x64
b140baeb55 Own files by their URIs during search.
56cee22800 Build out the initial version of the Factory class (and derived classes).
83cb0c425d Fix awaiting void in analyzer ast_test.dart. Fix at method decl.
c9af309cbf Fix fasta parsing of ?. in cascade expression
67695b9842 Fix the dependencies on the dartdevk_sdk build step.
0a59b2ff90 Fix test cases that await "void." Blocks #33415, making that an error
3ba3e2a752 Revert "switch to dart_action until prebuilt Windows Dart VM is updated"
741ed336f1 Improve AstBuilder int literal recovery
e77158eb38 First steps toward generating analyzer/kernel ASTs during type inference.
f1c3f997bd [VM] Clear out return-value-register from call-to-runtime-stub, it needs to be GC-safe for lazy deopts
686fd133a7 [VM interpreter] Propagate unhandled exception returned from jitted code to interpreter.
8fedfc7f8c Removed DomName, DosEditable, and experimental annoations they are unused.
7d94755836 Issue 33471. Use full ResolveResult in Extract Local refactoring.
57c0fc9593 [vm/corelib] More cleanup in integer operations after _Bigint is removed
88d12fda42 Parse throw on RHS of an assignment
1dcc3264e7 Fix tests that are failing on Windows
691313f357 Move newOptionsFile() and newPackagesFile() into ResourceProviderMixin.
e62f563b2d Validate sdkPath in AnalysisContextCollectionImpl.
493c421f0d Add AnalysisContextCollection.
```

* Roll dart sdk to 4552beb514c5b54fbe9c5a0791f7b95253ac09b9.

Changes since last roll:
```
4552beb514 Revert "[vm/kernel-service] Report an error if isolate compilation options change."
f304948807 [vm] Refactoring: extract kernel translation helpers to a separate file
5a47f4c9fa Apply resolution for ParameterElement metadata.
db7b5072af Reenable FutureOr resynthesis tests with kernel.
1f8148f862 [infra] Restore sync-async behavior to fix legacy precompiler bots
d9911b8a8a Add language_2 test status entries for -cdart2analyzer --use-cfe
b0b1020588 [fasta] Add more tests for noSuchMethod forwarders
90e27b19ea Check for conflicts between a static setter and a constructor or static method.
b0cbc4e9cd Fix a bug in top-level type inference dependency tracking
29924c4000 In observatory use ArgumentError instead of FallThroughError
bd9aa5139a Error on cyclic constructor redirect.
1a6c857a93 Remove ExpressionGenerator.buildThrowNoSuchMethodError
c53746fc8a Add lexeme2 template key
2f739fd7d9 Default implementation of _makeRead and _makeWrite
36b22c7ae9 Remove unused files
583a81ade3 [infra] Make test.py's --strong option a no-op to prepare for removing it
17b53a2835 Test out no_implicit_casts on the analyzer source base.
2ee635977d Revert separation of getOutline() and getResolution() in FrontEndCompiler.
fc472e03da Don't store resolution for desugaring generated NotJudgment.
e0845f9359 [vm/kernel-service] Report an error if isolate compilation options change.
cc30bda2be In resynthesis tests, do not attempt to distinguish missing bound from Object.
a1bd1dd6ee Use standard I/O posix functions for Fuchsia, not 64 bit variants
6f284b45f7 Fixes for applying resolution to InstanceCreationExpression.
1eacd27b8e [VM runtime] Type bounds do not need to be checked during type finalization in strong mode, since bound checks are explicitly emitted where needed.
5db9e6c95e [VM interpreter] Do not load bytecode of synthesized functions with copied metadata. Fix return of native call to bytecode function. Fix stack level when returning from static field initializer. Use a zone handle for handled exception types.
bcacff49ba Ignore deferredCheck() in resolution storer.
423edf86be Fix analyzer/FE integration of local generic functions with bounds.
0e7e0c945a [vm/kernel/bytecode] Generate argument checks after allocating initial context
3fd61646ce Fix analyzer/FE integration of redirected constructors involving type arguments.
d03210cdf4 Fix storage of types for local functions that are generic.
4426f5a33e [gardening] Mark large_class_declaration_test Slow in debug, dart1
85253708a3 [build] Include kernel-service snapshot in the platform sdk
f0bc620143 Validate location in store().
b4a426fa72 [dart:io] Adds HttpClient.connectionTimeout
cb4a19b5fc misc(pkg/analyzer): update to latest pkg:matcher API
d2bde00d9d Cleanup skipFormalParameters and remove unused methods
56cb7bac02 Fix for applying resolution to static field annotations.
723bcbd5f9 Added link to see webdev.dartlang.org
b9dbe3a0be Fix analyzer/FE integration for `is!` expressions.
bef0eca2e3 [gardening] Update status after a7f0f7ea899fe7812f54eea8f957a92153e3176e
f5e8cc3517 Remove old code with incorrect instantiation to bounds on typedefs
edf26852e6 linter 0.1.55
544358304d [VM] - Add --preview-dart-2 option back as a nop - Temporarily treat --checked as an alias for --enable-asserts in Dart2   mode so that google3 test scripts don't need to change.
e7da604c11 More updates for -DuseFastaParser.
efa4b21c4f [fuchsia] Update zx_cprng_draw
a7f0f7ea89 [vm] Add source positions to stack traces of bool checks
70087c349b Fixes for applying resolution to annotations.
21b077a81c Fix incorrect handling of non-generic typedefs.
37d9e79b1b Update co19 and co19 strong branch in DEPS
7d1642e081 [gardening] Mark large_class_declaration_test Slow.
dce6663028 Add message to assert to explain the problem
b20dc7b98a Update the script to re-gen the analysis server spec.
29c549bfe2 [vm/kernel] Use old space in a specific Kernel FE error allocation.
e13b9e8a75 [fasta] Update expectation files after cf2966ea
46167dfd88 It is OK to declare a const constructor in a class with a mixin, if it has no fields.
88a88b03dc Fix token used for large negative integers.
b43dc893eb Remove spec references to Symbol constructor.
cf2966ea0d [fasta] Generate noSuchMethod forwarders for abstract accessors
28ed0d743d Make it explicit that "dynamic" is exported from dart:core.
ce312b9632 Add --analyzer-use-fasta and --analyzer-use-fasta-parser to test.py
25286e4a7d Add tests for optimization of Flutters use of Widget.runtimeType
df2529d443 Detect when a class has a member that conflicts with a static one
50fe42a886 Reduce use of putIfAbsent
385cde3977 Resolve 'dynamic' element references.
70576f431e Roll https://github.com/dart-lang/pub/pull/1938 into the SDK.
46710a77dd Make checked flag again only enable assertions in Dart 2.0
e0905b979a Revert "Add ClassHierarchy to share code between J/KClosedWorld"
9179db84df Resynthesize typedef types properly from kernel.
c53952a46d [vm/kernel/bytecode] Generate bytecode for assertions, bool checks
a6c2c97d7e Rename ResynthesizeKernelStrongTest to ResynthesizeTest_Kernel
cad8d4a741 Store instance creation information at arguments offset.
a4c7cf388f First stab at a parsing library for named configurations.
008aa729c5 [VM interpreter] Support implicit getters and setters without compiling them.
54bc1548b0 [fuchsia] Update to Sync2Ptr
05b19947a4 Prep for analyzer 0.32.2
a1efbd326f Change FrontEndCompiler.getOutline() to return full kernels.
966541bec9 Improve literal function recovery
386efb1e6a Improve type parameter recovery
5c9add2c46 Allow Future<T> to be assigned to Future<void>
9c7cd04e7f [ VM / Testing ] Disabled non_utf8_* tests for FileSystemEntity classes
5c9e9a6661 [gardening] Update status file
5a193752f6 Clean up some hints
e67c5953e9 Relax return restrictions.
a9c624a010 [infra] Update checked in SDKs to 2.0.0-dev.65.0
12971f37a9 Update dart_style package to 1.1.0 in DEPS
f67308a983 Handle invalid dill files more gracefully
9aa0c4ae3f [release] Prepare changelog for 2.0.0-dev.65.0
9a8b5f3bc2 Update app_jitk service status
a16ad6d9de [infra] Make update_homebrew script work on Dart2
014a5bc678 Replace strstr with strncmp looking for path separator
d2d47acdce [kernel] Include urls even when we have no source
5f17b0a0be Convert ShadowMapLiteral to MapLiteralJudgment
2c98fb3c1d Add tests showing the async impact on function type checks
8e4d5c0a38 Update formated error for nonexisting constructor
a8e930caf3 Add ClassHierarchy to share code between J/KClosedWorld
c9bd4df214 Document IntLiteral.value as holding a uint64 value
56d57407e1 Fix status for new test
ed20faa2ed Add test for rejecting inexact numbers
31ed467871 Fix directory-prefix finding logic so it works on Windows.
2d6eaba187 pkg:build_integration: clarify that' it's not planned to be published
f67cba1067 [vm] Introduce kernel_multiroot options to support multiroot compilation mode in kernel service.
2876bd08fb Doc - Fix OSError.message and errorCode doc
c97f177112 Issue 33518. Fix for subtypes() in parts without library.
e661c9ef54 Simplify 'as T' for simple T
65a3c4443b [observatory] Update packages and remove dead dependencies.
b15572933d Update checked-in Dart SDK to 2.0.0-dev.64.1
9d3533ff72 snapshot the kernel worker in dart 2 mode and fix some dart 2 errors
b29bde6232 Convert ShadowSyntheticExpression to SyntheticExpressionJudgment
2876623654 Check function types in the correct order in runZoned.
6d25212302 getStats Future should be strongly typed.
ca99917fb6 Remove code awaiting void results to unblock #33145
19f60bfb52 Improve fasta parser expression recovery
d632980ee0 Add tokens to more judgements
5721d8af6d - Fixed querySelectoryAll generic syntax to assert if types in list aren't of the same type T. - Fixes requestFullscreen to call operation webkitRequestFullscreen not requestFullscreen its only available when RuntimeEnabled=FullscreenUnprefixed.
3640037164 Fix second half on #33343: disallow generic functions as type arguments.
97c81d668a Remove variableSet factory methods.
98efc7917f Improve parse assert statement recovery
a93e303f3f [vm/kernel/bytecode] Bytecode generation for rarely used operations
a0ba81bfe7 Convert ShadowCascadeExpression to CascadeJudgment.
de4d8b6cae Convert ShadowSymbolLiteral to SymbolLiteralJudgment
13c3560fc6 Count analyzer cfe integration failing tests.
77f94ec259 Convert ShadowLogicalExpression to LogicalJudgment
1a0fc733d3 Add tokens to more judgements
81191186d8 Remove unused class
284b5cce55 Partial fix of #33343. Reject generic function types as bounds.
ada8188b73 Update pkg/pkg.status with the latest -DuseFastaParser status.
e232ddd28c [VM] Handle [VariableGet]s for parameters/let variables differently than other const variables
5d4dbdac5c Adjust stringContentTDQ, stringContentTSQ to allow escapes.
b27b62e182 [fasta] Update .expect files for non-simple bound tests
aeff1c00f2 [vm/compiler] Improve CallTargets::CreateAndExpand
2ff5f8cfcb [VM] Report an error when accessing constructor parameters inside a constructor invocation
2f474a55c1 Change infer to return the expression instead of its type
b9f11311f8 [vm/compiler] Fix incorrect assertion from 20ca5bbb056.
f85fbde727 Expression compilation fix
6240dd5cc3 Make incremental_load_from_dill_test dart2 compliant
8747da838f Bump kernel version after e2ce88d
20ca5bbb05 [vm/jit] Introduce dynamic invocation forwarders that perform type checking
f9a11ec380 [gardening] Mark language_2/const_constructor_nonconst_param_test/01 failing in dartkp
212a817322 Check whether variables is set before using GN not_needed
f381778867 Update the status of analysis server tests.
8b10b1fda9 Add tokens to judgements, part 2
8c1591af9e Add a binder mechanism to the Factory API for handling labels.
e132240c91 Re-enable some failing analyzer_cli --use-cfe tests.
f598e6933c Drop support for Dart 1 in pub
9146cea63a Print times in seconds
ec0df457a2 Convert invocation Shadow(s) to Judgment(s).
223b143167 Workaround for issue 33559.
091f8860c2 [ dart:io / tests ] Fixed issue where non_utf8* tests attempted to delete the current working directory which is not allowed on Windows.
9276b27acd Add unittest for InferenceData
70ac1f90ec Revert "Update checked-in Dart SDK to 2.0.0-dev.64.1"
c270576dd4 Use FunctionNodeJudgment in FunctionExpressionJudgment.
aeba82ef9a [dart2js] Fix for issue 33572
1416ed283a Convert ShadowNot to NotJudgment.
a1a2d90a6c Convert ShadowForStatement to ForJudgment.
7c6211b1d8 Make unittests work with Dart 2
a8d805055a Handle covariant parameters in function types
b24170259c Don't add parts without 'part of' as libraries.
fea8cb1473 Revise order of type variable declaration events
6339976567 Rename lemma to binder
9d499fffe4 Start adding tokens to judgements
ff7a1255aa Convert ShadowFunctionDeclaration to FunctionDeclarationJudgment, add FunctionNodeJudgment.
5bfb70ec5b Docs - Update example websockets app; use idiomatic async/await in examples
ed0ba901e1 Doc - Fix library links in analyzer docs
4c697085be dart2js: Make bazel-input-provider dart2 compliant.
9b814bdf34 Use the lemma approach for NamedFunctionExpression
7c0d31092d Rename variableLemma and variableType to clarify that they refer to the loop variable.
b36f353f76 Update dartdoc to 0.20.1.
eafa9ae4b6 [vm/kernel] Fix StreamingConstantEvaluator to handle non-const variables
3e2708eada [VM interpreter] Fix broken interpreter build.
94abf948c4 pkg:status_file misc cleanup
02721709c3 Fix a committed solo test and mark it as passing now.
c8a488c1ca Add parameters to Forest method to support labeled statements
c4d6ac0cbe [vm/compiler/aot] Implement non-speculative int64 shift operation
3af363cba0 Rename typeContext to inferredType
10dcad1dd2 pkg:kernel - cleanup pubspec file
7e7fd7ffa5 Convert ShadowLiteralList into LiteralListJudgment
4fe71ec275 [fasta] Report instantiate-to-bound failure due to non-simple bounds
121fed2840 Convert ShadowDeferredCheck to DeferredCheckJudgment
e2c54e9af5 Fix cascade specification.
d08317b79f Make status file linter valid Dart 2 code
f4d2bf313e Convert ShadowFunctionExpression to FunctionExpressionJudgment
6888bc2824 Compile time error for web int literals that cannot be represented exactly
075c713a93 Register type arguments on inlining
4ebdb31646 Separate getOutline() and getResolution() in FrontEndCompiler.
6a7bf90c42 Convert ShadowRethrow to RethrowJudgment
7661841cc5 Convert ShadowNamedFunctionExpression to NamedFunctionExpressionJudgment
6fd40725af Convert ShadowIfNullExpression to IfNullJudgment
7c327c32b7 [frontend-server] Fix starter so it works in '--incremental' mode
f885a0c8f3 [vm/kernel] Fix crash when reading symbol literal from Dart annotation
16c0c0ff07 Convert ShadowStringConcatenation to StringConcatenationJudgment
d0655066a5 Use the lemma approach for other variable declaring constructs.
2121c3bb56 Docs - Link to the Random.secure constructor in dartdoc
975686d5a9 [syscalls] Use vmar..._old apis. Modify existing calls to vmar routines in preparation for changing the parameter order.
7d7e7c268e [vm] Work around interaction between type and instance canonicalization in isolate messages.
fa7c38dec5 [vm, standalone] Do not copy when loading kernel.
8d7c5294c6 Rename the kernel ShadowExpressions for assignments
47f394d61c Update checked-in Dart SDK to 2.0.0-dev.64.1
efd36d4cdf Updated non_utf8_* tests to better cleanup after themselves. Fixes issue
d1e1af84e7 DEPS: update crypto version
530f1f6512 [build] Possible fix for 'Error while initializing Kernel isolate'
e9bc3352e0 Replace and remove parseType
1b681a75c3 Modify Factory API to allow forward references to incomplete local functions and variables.
f682213764 Add parameters to Factory methods to support the try statement
cf6fbd9e07 Add parameters to Factory methods to support the switch statement
b50ff4990a Add parameters to Factory methods for list and map literals
c5855635ae Add Factory method parameters for for loops
c2a22c6462 Updates to ddc/ddb tool
1a1ff9e666 Reverse the pub snapshot names
d5d5daf411 Fixed cascade_test failure due to return type of operator []= being non-void.
69c807c636 Fix docs for async File methods
569341cbe0 Improve CompressionOptions docs:
8d40afc9c0 Convert ShadowTryFinally to TryFinallyJudgment.
4a9abfcacb Convert ShadowForInStatement to ForInJudgment.
f2eaf6aae7 Remove type parameters from the Fasta BodyBuilder
74dd5440f1 Convert ShadowStringLiteral into StringLiteralJudgment
10641cbf42 Update status files after 52b2a869bcb93
ee19f2804a Make ResolutionStorer implement the Factory API.
e2ce88dfcc Add startFileOffset on procedures et al, enable VMs GetSource
52b2a869bc Update some noSuchMethod based tests to the currently desired behavior.
bf4f9a9163 Update testing scripts to run on a Dart 2 VM
8638668ecf [VM] Fix vm->native state transition in isolate_reload.cc
71ac67aed1 [kernel] Recognize noSuchMethod forwarders in class hierarchy analysis
216e8dfe85 Stop using !kernel annotations
3e85df5167 [ VM / Dart API ] Added additional methods required for Flutter background execution.
fa19575a54 [vm/kernel/bytecode] Inline list of types into TypeArgumentsForInstanceAllocation constant pool entry
c37bbcca7f Roll pub to the latest version.
abc8793109 [VM interpreter] Adjust bytecode constant pool reading for inlined list of types in TypeArgumentsForInstanceAllocation entry.
8d3eb154e9 [vmservice] Report expression compilation errors
b28ebca825 Begin reworking ResolutionStorer API to look more like the Factory class.
f6871d2305 [vm/kernel/bytecode] Fix generation of InstantiateTypeArgumentsTOS bytecode
272848fe0f Convert ShadowWhileStatement to WhileJudgment.
5ccc497678 Inline constructor bodies that are called once
4df14626b3 Add parameters to Factory methods for constructor initializers
dce00bc836 - fix a strong mode type error - mark a test as slow
83a4d98554 [vm] Weaken CAS to RMW when accessing the remembered and mark bits.
e76fbee90f [VM interpreter] Provide arm64 stubs. Minor cleanups.
a3dde1fad8 Convert ShadowSwitchStatement to SwitchStatementJudgment.
e8323f578c Convert ShadowTryCatch to TryCatchJudgment.
6182b7215d [vm/kernel/bytecode] Fix passing of type arguments
b343d0a80d trigger error for const A(B()) if B non-const
06a588233c Fix package_root_test.dart on mac buildbot.
8419090c8c Cleanup type variable event sequence
8da640704a [vm/linearscan] Reserve slots for catch block entry when nothing is spilled
80a8bfe657 Convert ShadowExpressionStatement to ExpressionStatementJudgment.
2f664c141f [vm] Shorten the write barrier sequence.
b6aa31f7d8 Add required parameters to Factory.catchStatement
34bbb1da30 [Gardening] Move status line to the correct section.
68ecf31fc5 Update CHANGELOG.md with text for the default switching to Dart 2.0.
e15b6a1cd7 Add parameters to Factory API, part 2
85c27d78c1 [Gardening] Removed incorrect entry in the status file.
2edbfd95a7 Convert ShadowVariableDeclaration to VariableDeclarationJudgment.
075027b130 Added super_no_such_method5_test also to the issue list for 33517
254d8ef153 Switch ShadowYieldStatement to YieldJudgment.
64fd6653cf Update deprecated references.
13fb4da312 Convert ShadowIfStatement to IfJudgment.
71042d3dfa linter 0.1.54
e9f994892d Cleanup unescape error messages
7b68a4516f Wrap Let with ShadowSyntheticExpression in wrapInLocatedCompileTimeError().
7d9ac9dca5 Add a --use-fasta-parse flag to test.py; add a 'analyzer-use-fasta-parser' buildbot configuration.
591cf85c76 Re-enable the old analyzer/FE integration logic.
9bd3350f1f Convert ShadowContinueSwitchStatement to ContinueSwitchJudgment.
92f353fe29 Convert ShadowReturnStatement to ReturnJudgment.
462d2a35d3 Convert shadow nodes for 'is' and 'is!' into inference judgments
a3a8d8bbd5 [VM][kernel] Don't mix in noSuchMethod forwarders
6612278b71 Skip non-utf8 file tests on reload builders, where they time out
125fae6d56 Incorporate comments from an earlier code review
188c858a4c [gardening] Fix standalone/app_snapshot_share_test
1c4b362ba5 Support noSuchMethod forwarders in dart2js
276598199e Make DDK interpret IntLiteral.value as uint64
a049e340eb Revert the fix for issue #31770
d4a69bde98 app_snapshot_share_test now runs only in dartk and dartkp mode.
75f485d6d9 [dart2js] Fix for issue 33500
828df76c85 Notify kernel service of isolate shutdown.
a36fbd1990 Skip app_snapshot_share test in precompiled dart1 mode as the test spawns a dart process which runs in Dart2 mode and hence needs a kernel file generation step to run. This test now makes sense only in dartk and dartkp modes.
6dfa10d33d Generate the kernel buffers using bin_to_assembly rule instead of dill_to_cc. This should fix the clang tool errors we are seeing.
8da46d35f5 [vm] Move heap-related code to its own subdirectory (cf. compiler).
2f3c983e0a Convert ShadowStaticGet to StaticGetJudgment
acd375cc77 [gardening] Silence flaky test which times out on simarm64 bot
3becdb8afd Convert property gets to judgments.
9db4b71442 Convert ShadowIntLiteral to IntJudgment
37084e677c Convert ShadowDoubleLiteral to DoubleJudgment
d84d3f8e42 Convert ShadowNullLiteral to NullJudgment.
3a2a84db9c Improve misplaced factory/modifier recovery
3586fcb165 Cleanup deprecated code
eac395c33d Add parameters needed by analyzer to Factory, part 1
edcd3be290 Update aot_assembly rule to temporarily use --no-preview-dart-2 until it is updated to call gen_kernel to produce a kernel file before creating the AOT snapshot.
3d96683a88 Convert ShadowDoStatement to DoJudgment.
8e8fb38c48 Convert ShadowBlock to BlockJudgment.
b71fb2e086 Convert ShadowBreakStatement to BreakJudgment and ContinueJudgment.
c96f23243b Enable Dart2 in dart2js by default
6b96e65c5b Convert ShadowArguments to ArgumentsJudgment.
437b492042 [gardening] Update status for reload-kernel bots
a3a1113cfd Convert ShadowConditionalExpression to ConditionalJudgment.
5b2871ae88 Ensure that constructor invocation file offset is set correctly for annotations.
bedbdf6a49 Add a Type parameter to Factory and update one method
119236996a [build] Remove tools/compile_platform.py
ddde9820a9 Improve fasta parser parameter list recovery
f5a0e3efa8 Create NamedExpressionJudgment.
165c57ffd7 Attempt to fix the windows bot 3
bb1fcebd36 [dart:io] Expose Crypto::GetRandomBytes in embedded_dart_io.h
23f87d54c6 [vm/kernel/bytecode] Implement strong mode type checks in bytecode
1e7d39504f Convert ShadowLabeledStatement to LabeledStatementJudgment.
d895b49134 Support asset directories in flutter pubspec validation.
015d9eff49 Use ShadowEmptyStatement instead of EmptyStatement in blocks.
029ff9361f Track which import is referenced by each prefix.
92c24a1ee7 Skip sample_extension_app_snapshot_test on opt-counter-threshold builders
33d41a928a [VM] Fix incorrect memory allocation
f3960a0111 Fix language_2/vm/optimized_guarded_field_isolates_test
e496efb611 [VM] Adjust status file after 6db5f38d4ee4d
ef49436487 [fasta] Update expectation files after noSuchMethod forwarders change
049195b15d Fix path to entry points json file in app_snapshot_share_test
b024432a29 [VM] Disable test in reload/rollback mode due to snapshot generation
6db5f38d4e [fasta] Don't generate noSuchMethod forwarders in abstract classes
7979232580 Re-added header, only needed to remove the other resource section.
a38b9bed23 Restore dart2js-checked and dart-aot in try_benchmarks.sh.
7be47cd30d Remove some dead code (including implicit setters)
1c01aa7704 Convert some ShadowExpressions into inference judgments
6e6bdb486a Ensure we run app_snapshot_share_test
d7e5332057 Make dual use of a part in the same program an error.
856c7c67ea Skip standalone_2 on !strong configurations (for JIT / AOT VM)
ba024be044 Mark dart2js specific argument as deprecated.
20fe2f0ada Indent error pointer correctly in the presence of tabs.
bd94de8e48 Use dynamic to fix string_interpolate_test
b172a42881 [VM] Catch errors for integer operations in kernel2kernel constant evaluator
f288124d5a Fix InvalidInlineFunctionType example
15821a28a3 Explicit type args in body_builder
1f6925718b Add message for missing type arguments
87e045c484 Remove the helper dart script from our browser test framework
532b9aaa93 Flatten *WorldBuilder hierarchies.
f1d44e39fa Update status for passing Windows Firefox co19 tests
efb4f69a13 Adjust simarm status.
1a443da6ad Adjust options passed to precompile runtime.
f8caffd9e6 Remove some uses of Platform.packageRoot.
ebe2f1db2c Adjust status files.
6fcc95d2a4 Adjust status files.
f2f6ebf547 Convert ShadowAssertInitializer to AssertInitializerJudgment.
ea837c91a0 Transition tests to EvaluateCompiledExpression.
3e6e2dd7f4 Convert ShadowAssertStatement to AssertStatementJudgment.
27fefd7bb3 Convert ShadowAwaitExpression to AwaitExpressionJudgment.
dd1c54c442 Convert ShadowBoolLiteral to BoolLiteralJudgement
4a353fea35 Another attempt to fix tests on Windows
a69d922794 Adjust some of the test expectations based on the flip to Dart 2 mode.
b3b8ca6dc4 Remove the --package-default-analysis-options flag.
9943547d5d Default pub to Dart 2 with opt out
aba94f051e Convert ShadowAsExpression to AsJudgment.
bc7220a4fd [VM] Turn dart2 on by default on the command line VM
cdd2553a12 [vm/kernel/bytecode] Fix null handling in operator ==
df2bf6590d [VM runtime] Minor cleanup of stubs on all architectures as already done for x64
b140baeb55 Own files by their URIs during search.
56cee22800 Build out the initial version of the Factory class (and derived classes).
83cb0c425d Fix awaiting void in analyzer ast_test.dart. Fix at method decl.
c9af309cbf Fix fasta parsing of ?. in cascade expression
67695b9842 Fix the dependencies on the dartdevk_sdk build step.
0a59b2ff90 Fix test cases that await "void." Blocks #33415, making that an error
3ba3e2a752 Revert "switch to dart_action until prebuilt Windows Dart VM is updated"
741ed336f1 Improve AstBuilder int literal recovery
e77158eb38 First steps toward generating analyzer/kernel ASTs during type inference.
f1c3f997bd [VM] Clear out return-value-register from call-to-runtime-stub, it needs to be GC-safe for lazy deopts
686fd133a7 [VM interpreter] Propagate unhandled exception returned from jitted code to interpreter.
8fedfc7f8c Removed DomName, DosEditable, and experimental annoations they are unused.
7d94755836 Issue 33471. Use full ResolveResult in Extract Local refactoring.
57c0fc9593 [vm/corelib] More cleanup in integer operations after _Bigint is removed
88d12fda42 Parse throw on RHS of an assignment
1dcc3264e7 Fix tests that are failing on Windows
691313f357 Move newOptionsFile() and newPackagesFile() into ResourceProviderMixin.
e62f563b2d Validate sdkPath in AnalysisContextCollectionImpl.
493c421f0d Add AnalysisContextCollection.
```

* Roll dart sdk to 4552beb514c5b54fbe9c5a0791f7b95253ac09b9.

Changes since last roll:
```
4552beb514 Revert "[vm/kernel-service] Report an error if isolate compilation options change."
f304948807 [vm] Refactoring: extract kernel translation helpers to a separate file
5a47f4c9fa Apply resolution for ParameterElement metadata.
db7b5072af Reenable FutureOr resynthesis tests with kernel.
1f8148f862 [infra] Restore sync-async behavior to fix legacy precompiler bots
d9911b8a8a Add language_2 test status entries for -cdart2analyzer --use-cfe
b0b1020588 [fasta] Add more tests for noSuchMethod forwarders
90e27b19ea Check for conflicts between a static setter and a constructor or static method.
b0cbc4e9cd Fix a bug in top-level type inference dependency tracking
29924c4000 In observatory use ArgumentError instead of FallThroughError
bd9aa5139a Error on cyclic constructor redirect.
1a6c857a93 Remove ExpressionGenerator.buildThrowNoSuchMethodError
c53746fc8a Add lexeme2 template key
2f739fd7d9 Default implementation of _makeRead and _makeWrite
36b22c7ae9 Remove unused files
583a81ade3 [infra] Make test.py's --strong option a no-op to prepare for removing it
17b53a2835 Test out no_implicit_casts on the analyzer source base.
2ee635977d Revert separation of getOutline() and getResolution() in FrontEndCompiler.
fc472e03da Don't store resolution for desugaring generated NotJudgment.
e0845f9359 [vm/kernel-service] Report an error if isolate compilation options change.
cc30bda2be In resynthesis tests, do not attempt to distinguish missing bound from Object.
a1bd1dd6ee Use standard I/O posix functions for Fuchsia, not 64 bit variants
6f284b45f7 Fixes for applying resolution to InstanceCreationExpression.
1eacd27b8e [VM runtime] Type bounds do not need to be checked during type finalization in strong mode, since bound checks are explicitly emitted where needed.
5db9e6c95e [VM interpreter] Do not load bytecode of synthesized functions with copied metadata. Fix return of native call to bytecode function. Fix stack level when returning from static field initializer. Use a zone handle for handled exception types.
bcacff49ba Ignore deferredCheck() in resolution storer.
423edf86be Fix analyzer/FE integration of local generic functions with bounds.
0e7e0c945a [vm/kernel/bytecode] Generate argument checks after allocating initial context
3fd61646ce Fix analyzer/FE integration of redirected constructors involving type arguments.
d03210cdf4 Fix storage of types for local functions that are generic.
4426f5a33e [gardening] Mark large_class_declaration_test Slow in debug, dart1
85253708a3 [build] Include kernel-service snapshot in the platform sdk
f0bc620143 Validate location in store().
b4a426fa72 [dart:io] Adds HttpClient.connectionTimeout
cb4a19b5fc misc(pkg/analyzer): update to latest pkg:matcher API
d2bde00d9d Cleanup skipFormalParameters and remove unused methods
56cb7bac02 Fix for applying resolution to static field annotations.
723bcbd5f9 Added link to see webdev.dartlang.org
b9dbe3a0be Fix analyzer/FE integration for `is!` expressions.
bef0eca2e3 [gardening] Update status after a7f0f7ea899fe7812f54eea8f957a92153e3176e
f5e8cc3517 Remove old code with incorrect instantiation to bounds on typedefs
edf26852e6 linter 0.1.55
544358304d [VM] - Add --preview-dart-2 option back as a nop - Temporarily treat --checked as an alias for --enable-asserts in Dart2   mode so that google3 test scripts don't need to change.
e7da604c11 More updates for -DuseFastaParser.
efa4b21c4f [fuchsia] Update zx_cprng_draw
a7f0f7ea89 [vm] Add source positions to stack traces of bool checks
70087c349b Fixes for applying resolution to annotations.
21b077a81c Fix incorrect handling of non-generic typedefs.
37d9e79b1b Update co19 and co19 strong branch in DEPS
7d1642e081 [gardening] Mark large_class_declaration_test Slow.
dce6663028 Add message to assert to explain the problem
b20dc7b98a Update the script to re-gen the analysis server spec.
29c549bfe2 [vm/kernel] Use old space in a specific Kernel FE error allocation.
e13b9e8a75 [fasta] Update expectation files after cf2966ea
46167dfd88 It is OK to declare a const constructor in a class with a mixin, if it has no fields.
88a88b03dc Fix token used for large negative integers.
b43dc893eb Remove spec references to Symbol constructor.
cf2966ea0d [fasta] Generate noSuchMethod forwarders for abstract accessors
28ed0d743d Make it explicit that "dynamic" is exported from dart:core.
ce312b9632 Add --analyzer-use-fasta and --analyzer-use-fasta-parser to test.py
25286e4a7d Add tests for optimization of Flutters use of Widget.runtimeType
df2529d443 Detect when a class has a member that conflicts with a static one
50fe42a886 Reduce use of putIfAbsent
385cde3977 Resolve 'dynamic' element references.
70576f431e Roll https://github.com/dart-lang/pub/pull/1938 into the SDK.
46710a77dd Make checked flag again only enable assertions in Dart 2.0
e0905b979a Revert "Add ClassHierarchy to share code between J/KClosedWorld"
9179db84df Resynthesize typedef types properly from kernel.
c53952a46d [vm/kernel/bytecode] Generate bytecode for assertions, bool checks
a6c2c97d7e Rename ResynthesizeKernelStrongTest to ResynthesizeTest_Kernel
cad8d4a741 Store instance creation information at arguments offset.
a4c7cf388f First stab at a parsing library for named configurations.
008aa729c5 [VM interpreter] Support implicit getters and setters without compiling them.
54bc1548b0 [fuchsia] Update to Sync2Ptr
05b19947a4 Prep for analyzer 0.32.2
a1efbd326f Change FrontEndCompiler.getOutline() to return full kernels.
966541bec9 Improve literal function recovery
386efb1e6a Improve type parameter recovery
5c9add2c46 Allow Future<T> to be assigned to Future<void>
9c7cd04e7f [ VM / Testing ] Disabled non_utf8_* tests for FileSystemEntity classes
5c9e9a6661 [gardening] Update status file
5a193752f6 Clean up some hints
e67c5953e9 Relax return restrictions.
a9c624a010 [infra] Update checked in SDKs to 2.0.0-dev.65.0
12971f37a9 Update dart_style package to 1.1.0 in DEPS
f67308a983 Handle invalid dill files more gracefully
9aa0c4ae3f [release] Prepare changelog for 2.0.0-dev.65.0
9a8b5f3bc2 Update app_jitk service status
a16ad6d9de [infra] Make update_homebrew script work on Dart2
014a5bc678 Replace strstr with strncmp looking for path separator
d2d47acdce [kernel] Include urls even when we have no source
5f17b0a0be Convert ShadowMapLiteral to MapLiteralJudgment
2c98fb3c1d Add tests showing the async impact on function type checks
8e4d5c0a38 Update formated error for nonexisting constructor
a8e930caf3 Add ClassHierarchy to share code between J/KClosedWorld
c9bd4df214 Document IntLiteral.value as holding a uint64 value
56d57407e1 Fix status for new test
ed20faa2ed Add test for rejecting inexact numbers
31ed467871 Fix directory-prefix finding logic so it works on Windows.
2d6eaba187 pkg:build_integration: clarify that' it's not planned to be published
f67cba1067 [vm] Introduce kernel_multiroot options to support multiroot compilation mode in kernel service.
2876bd08fb Doc - Fix OSError.message and errorCode doc
c97f177112 Issue 33518. Fix for subtypes() in parts without library.
e661c9ef54 Simplify 'as T' for simple T
65a3c4443b [observatory] Update packages and remove dead dependencies.
b15572933d Update checked-in Dart SDK to 2.0.0-dev.64.1
9d3533ff72 snapshot the kernel worker in dart 2 mode and fix some dart 2 errors
b29bde6232 Convert ShadowSyntheticExpression to SyntheticExpressionJudgment
2876623654 Check function types in the correct order in runZoned.
6d25212302 getStats Future should be strongly typed.
ca99917fb6 Remove code awaiting void results to unblock #33145
19f60bfb52 Improve fasta parser expression recovery
d632980ee0 Add tokens to more judgements
5721d8af6d - Fixed querySelectoryAll generic syntax to assert if types in list aren't of the same type T. - Fixes requestFullscreen to call operation webkitRequestFullscreen not requestFullscreen its only available when RuntimeEnabled=FullscreenUnprefixed.
3640037164 Fix second half on #33343: disallow generic functions as type arguments.
97c81d668a Remove variableSet factory methods.
98efc7917f Improve parse assert statement recovery
a93e303f3f [vm/kernel/bytecode] Bytecode generation for rarely used operations
a0ba81bfe7 Convert ShadowCascadeExpression to CascadeJudgment.
de4d8b6cae Convert ShadowSymbolLiteral to SymbolLiteralJudgment
13c3560fc6 Count analyzer cfe integration failing tests.
77f94ec259 Convert ShadowLogicalExpression to LogicalJudgment
1a0fc733d3 Add tokens to more judgements
81191186d8 Remove unused class
284b5cce55 Partial fix of #33343. Reject generic function types as bounds.
ada8188b73 Update pkg/pkg.status with the latest -DuseFastaParser status.
e232ddd28c [VM] Handle [VariableGet]s for parameters/let variables differently than other const variables
5d4dbdac5c Adjust stringContentTDQ, stringContentTSQ to allow escapes.
b27b62e182 [fasta] Update .expect files for non-simple bound tests
aeff1c00f2 [vm/compiler] Improve CallTargets::CreateAndExpand
2ff5f8cfcb [VM] Report an error when accessing constructor parameters inside a constructor invocation
2f474a55c1 Change infer to return the expression instead of its type
b9f11311f8 [vm/compiler] Fix incorrect assertion from 20ca5bbb056.
f85fbde727 Expression compilation fix
6240dd5cc3 Make incremental_load_from_dill_test dart2 compliant
8747da838f Bump kernel version after e2ce88d
20ca5bbb05 [vm/jit] Introduce dynamic invocation forwarders that perform type checking
f9a11ec380 [gardening] Mark language_2/const_constructor_nonconst_param_test/01 failing in dartkp
212a817322 Check whether variables is set before using GN not_needed
f381778867 Update the status of analysis server tests.
8b10b1fda9 Add tokens to judgements, part 2
8c1591af9e Add a binder mechanism to the Factory API for handling labels.
e132240c91 Re-enable some failing analyzer_cli --use-cfe tests.
f598e6933c Drop support for Dart 1 in pub
9146cea63a Print times in seconds
ec0df457a2 Convert invocation Shadow(s) to Judgment(s).
223b143167 Workaround for issue 33559.
091f8860c2 [ dart:io / tests ] Fixed issue where non_utf8* tests attempted to delete the current working directory which is not allowed on Windows.
9276b27acd Add unittest for InferenceData
70ac1f90ec Revert "Update checked-in Dart SDK to 2.0.0-dev.64.1"
c270576dd4 Use FunctionNodeJudgment in FunctionExpressionJudgment.
aeba82ef9a [dart2js] Fix for issue 33572
1416ed283a Convert ShadowNot to NotJudgment.
a1a2d90a6c Convert ShadowForStatement to ForJudgment.
7c6211b1d8 Make unittests work with Dart 2
a8d805055a Handle covariant parameters in function types
b24170259c Don't add parts without 'part of' as libraries.
fea8cb1473 Revise order of type variable declaration events
6339976567 Rename lemma to binder
9d499fffe4 Start adding tokens to judgements
ff7a1255aa Convert ShadowFunctionDeclaration to FunctionDeclarationJudgment, add FunctionNodeJudgment.
5bfb70ec5b Docs - Update example websockets app; use idiomatic async/await in examples
ed0ba901e1 Doc - Fix library links in analyzer docs
4c697085be dart2js: Make bazel-input-provider dart2 compliant.
9b814bdf34 Use the lemma approach for NamedFunctionExpression
7c0d31092d Rename variableLemma and variableType to clarify that they refer to the loop variable.
b36f353f76 Update dartdoc to 0.20.1.
eafa9ae4b6 [vm/kernel] Fix StreamingConstantEvaluator to handle non-const variables
3e2708eada [VM interpreter] Fix broken interpreter build.
94abf948c4 pkg:status_file misc cleanup
02721709c3 Fix a committed solo test and mark it as passing now.
c8a488c1ca Add parameters to Forest method to support labeled statements
c4d6ac0cbe [vm/compiler/aot] Implement non-speculative int64 shift operation
3af363cba0 Rename typeContext to inferredType
10dcad1dd2 pkg:kernel - cleanup pubspec file
7e7fd7ffa5 Convert ShadowLiteralList into LiteralListJudgment
4fe71ec275 [fasta] Report instantiate-to-bound failure due to non-simple bounds
121fed2840 Convert ShadowDeferredCheck to DeferredCheckJudgment
e2c54e9af5 Fix cascade specification.
d08317b79f Make status file linter valid Dart 2 code
f4d2bf313e Convert ShadowFunctionExpression to FunctionExpressionJudgment
6888bc2824 Compile time error for web int literals that cannot be represented exactly
075c713a93 Register type arguments on inlining
4ebdb31646 Separate getOutline() and getResolution() in FrontEndCompiler.
6a7bf90c42 Convert ShadowRethrow to RethrowJudgment
7661841cc5 Convert ShadowNamedFunctionExpression to NamedFunctionExpressionJudgment
6fd40725af Convert ShadowIfNullExpression to IfNullJudgment
7c327c32b7 [frontend-server] Fix starter so it works in '--incremental' mode
f885a0c8f3 [vm/kernel] Fix crash when reading symbol literal from Dart annotation
16c0c0ff07 Convert ShadowStringConcatenation to StringConcatenationJudgment
d0655066a5 Use the lemma approach for other variable declaring constructs.
2121c3bb56 Docs - Link to the Random.secure constructor in dartdoc
975686d5a9 [syscalls] Use vmar..._old apis. Modify existing calls to vmar routines in preparation for changing the parameter order.
7d7e7c268e [vm] Work around interaction between type and instance canonicalization in isolate messages.
fa7c38dec5 [vm, standalone] Do not copy when loading kernel.
8d7c5294c6 Rename the kernel ShadowExpressions for assignments
47f394d61c Update checked-in Dart SDK to 2.0.0-dev.64.1
efd36d4cdf Updated non_utf8_* tests to better cleanup after themselves. Fixes issue
d1e1af84e7 DEPS: update crypto version
530f1f6512 [build] Possible fix for 'Error while initializing Kernel isolate'
e9bc3352e0 Replace and remove parseType
1b681a75c3 Modify Factory API to allow forward references to incomplete local functions and variables.
f682213764 Add parameters to Factory methods to support the try statement
cf6fbd9e07 Add parameters to Factory methods to support the switch statement
b50ff4990a Add parameters to Factory methods for list and map literals
c5855635ae Add Factory method parameters for for loops
c2a22c6462 Updates to ddc/ddb tool
1a1ff9e666 Reverse the pub snapshot names
d5d5daf411 Fixed cascade_test failure due to return type of operator []= being non-void.
69c807c636 Fix docs for async File methods
569341cbe0 Improve CompressionOptions docs:
8d40afc9c0 Convert ShadowTryFinally to TryFinallyJudgment.
4a9abfcacb Convert ShadowForInStatement to ForInJudgment.
f2eaf6aae7 Remove type parameters from the Fasta BodyBuilder
74dd5440f1 Convert ShadowStringLiteral into StringLiteralJudgment
10641cbf42 Update status files after 52b2a869bcb93
ee19f2804a Make ResolutionStorer implement the Factory API.
e2ce88dfcc Add startFileOffset on procedures et al, enable VMs GetSource
52b2a869bc Update some noSuchMethod based tests to the currently desired behavior.
bf4f9a9163 Update testing scripts to run on a Dart 2 VM
8638668ecf [VM] Fix vm->native state transition in isolate_reload.cc
71ac67aed1 [kernel] Recognize noSuchMethod forwarders in class hierarchy analysis
216e8dfe85 Stop using !kernel annotations
3e85df5167 [ VM / Dart API ] Added additional methods required for Flutter background execution.
fa19575a54 [vm/kernel/bytecode] Inline list of types into TypeArgumentsForInstanceAllocation constant pool entry
c37bbcca7f Roll pub to the latest version.
abc8793109 [VM interpreter] Adjust bytecode constant pool reading for inlined list of types in TypeArgumentsForInstanceAllocation entry.
8d3eb154e9 [vmservice] Report expression compilation errors
b28ebca825 Begin reworking ResolutionStorer API to look more like the Factory class.
f6871d2305 [vm/kernel/bytecode] Fix generation of InstantiateTypeArgumentsTOS bytecode
272848fe0f Convert ShadowWhileStatement to WhileJudgment.
5ccc497678 Inline constructor bodies that are called once
4df14626b3 Add parameters to Factory methods for constructor initializers
dce00bc836 - fix a strong mode type error - mark a test as slow
83a4d98554 [vm] Weaken CAS to RMW when accessing the remembered and mark bits.
e76fbee90f [VM interpreter] Provide arm64 stubs. Minor cleanups.
a3dde1fad8 Convert ShadowSwitchStatement to SwitchStatementJudgment.
e8323f578c Convert ShadowTryCatch to TryCatchJudgment.
6182b7215d [vm/kernel/bytecode] Fix passing of type arguments
b343d0a80d trigger error for const A(B()) if B non-const
06a588233c Fix package_root_test.dart on mac buildbot.
8419090c8c Cleanup type variable event sequence
8da640704a [vm/linearscan] Reserve slots for catch block entry when nothing is spilled
80a8bfe657 Convert ShadowExpressionStatement to ExpressionStatementJudgment.
2f664c141f [vm] Shorten the write barrier sequence.
b6aa31f7d8 Add required parameters to Factory.catchStatement
34bbb1da30 [Gardening] Move status line to the correct section.
68ecf31fc5 Update CHANGELOG.md with text for the default switching to Dart 2.0.
e15b6a1cd7 Add parameters to Factory API, part 2
85c27d78c1 [Gardening] Removed incorrect entry in the status file.
2edbfd95a7 Convert ShadowVariableDeclaration to VariableDeclarationJudgment.
075027b130 Added super_no_such_method5_test also to the issue list for 33517
254d8ef153 Switch ShadowYieldStatement to YieldJudgment.
64fd6653cf Update deprecated references.
13fb4da312 Convert ShadowIfStatement to IfJudgment.
71042d3dfa linter 0.1.54
e9f994892d Cleanup unescape error messages
7b68a4516f Wrap Let with ShadowSyntheticExpression in wrapInLocatedCompileTimeError().
7d9ac9dca5 Add a --use-fasta-parse flag to test.py; add a 'analyzer-use-fasta-parser' buildbot configuration.
591cf85c76 Re-enable the old analyzer/FE integration logic.
9bd3350f1f Convert ShadowContinueSwitchStatement to ContinueSwitchJudgment.
92f353fe29 Convert ShadowReturnStatement to ReturnJudgment.
462d2a35d3 Convert shadow nodes for 'is' and 'is!' into inference judgments
a3a8d8bbd5 [VM][kernel] Don't mix in noSuchMethod forwarders
6612278b71 Skip non-utf8 file tests on reload builders, where they time out
125fae6d56 Incorporate comments from an earlier code review
188c858a4c [gardening] Fix standalone/app_snapshot_share_test
1c4b362ba5 Support noSuchMethod forwarders in dart2js
276598199e Make DDK interpret IntLiteral.value as uint64
a049e340eb Revert the fix for issue #31770
d4a69bde98 app_snapshot_share_test now runs only in dartk and dartkp mode.
75f485d6d9 [dart2js] Fix for issue 33500
828df76c85 Notify kernel service of isolate shutdown.
a36fbd1990 Skip app_snapshot_share test in precompiled dart1 mode as the test spawns a dart process which runs in Dart2 mode and hence needs a kernel file generation step to run. This test now makes sense only in dartk and dartkp modes.
6dfa10d33d Generate the kernel buffers using bin_to_assembly rule instead of dill_to_cc. This should fix the clang tool errors we are seeing.
8da46d35f5 [vm] Move heap-related code to its own subdirectory (cf. compiler).
2f3c983e0a Convert ShadowStaticGet to StaticGetJudgment
acd375cc77 [gardening] Silence flaky test which times out on simarm64 bot
3becdb8afd Convert property gets to judgments.
9db4b71442 Convert ShadowIntLiteral to IntJudgment
37084e677c Convert ShadowDoubleLiteral to DoubleJudgment
d84d3f8e42 Convert ShadowNullLiteral to NullJudgment.
3a2a84db9c Improve misplaced factory/modifier recovery
3586fcb165 Cleanup deprecated code
eac395c33d Add parameters needed by analyzer to Factory, part 1
edcd3be290 Update aot_assembly rule to temporarily use --no-preview-dart-2 until it is updated to call gen_kernel to produce a kernel file before creating the AOT snapshot.
3d96683a88 Convert ShadowDoStatement to DoJudgment.
8e8fb38c48 Convert ShadowBlock to BlockJudgment.
b71fb2e086 Convert ShadowBreakStatement to BreakJudgment and ContinueJudgment.
c96f23243b Enable Dart2 in dart2js by default
6b96e65c5b Convert ShadowArguments to ArgumentsJudgment.
437b492042 [gardening] Update status for reload-kernel bots
a3a1113cfd Convert ShadowConditionalExpression to ConditionalJudgment.
5b2871ae88 Ensure that constructor invocation file offset is set correctly for annotations.
bedbdf6a49 Add a Type parameter to Factory and update one method
119236996a [build] Remove tools/compile_platform.py
ddde9820a9 Improve fasta parser parameter list recovery
f5a0e3efa8 Create NamedExpressionJudgment.
165c57ffd7 Attempt to fix the windows bot 3
bb1fcebd36 [dart:io] Expose Crypto::GetRandomBytes in embedded_dart_io.h
23f87d54c6 [vm/kernel/bytecode] Implement strong mode type checks in bytecode
1e7d39504f Convert ShadowLabeledStatement to LabeledStatementJudgment.
d895b49134 Support asset directories in flutter pubspec validation.
015d9eff49 Use ShadowEmptyStatement instead of EmptyStatement in blocks.
029ff9361f Track which import is referenced by each prefix.
92c24a1ee7 Skip sample_extension_app_snapshot_test on opt-counter-threshold builders
33d41a928a [VM] Fix incorrect memory allocation
f3960a0111 Fix language_2/vm/optimized_guarded_field_isolates_test
e496efb611 [VM] Adjust status file after 6db5f38d4ee4d
ef49436487 [fasta] Update expectation files after noSuchMethod forwarders change
049195b15d Fix path to entry points json file in app_snapshot_share_test
b024432a29 [VM] Disable test in reload/rollback mode due to snapshot generation
6db5f38d4e [fasta] Don't generate noSuchMethod forwarders in abstract classes
7979232580 Re-added header, only needed to remove the other resource section.
a38b9bed23 Restore dart2js-checked and dart-aot in try_benchmarks.sh.
7be47cd30d Remove some dead code (including implicit setters)
1c01aa7704 Convert some ShadowExpressions into inference judgments
6e6bdb486a Ensure we run app_snapshot_share_test
d7e5332057 Make dual use of a part in the same program an error.
856c7c67ea Skip standalone_2 on !strong configurations (for JIT / AOT VM)
ba024be044 Mark dart2js specific argument as deprecated.
20fe2f0ada Indent error pointer correctly in the presence of tabs.
bd94de8e48 Use dynamic to fix string_interpolate_test
b172a42881 [VM] Catch errors for integer operations in kernel2kernel constant evaluator
f288124d5a Fix InvalidInlineFunctionType example
15821a28a3 Explicit type args in body_builder
1f6925718b Add message for missing type arguments
87e045c484 Remove the helper dart script from our browser test framework
532b9aaa93 Flatten *WorldBuilder hierarchies.
f1d44e39fa Update status for passing Windows Firefox co19 tests
efb4f69a13 Adjust simarm status.
1a443da6ad Adjust options passed to precompile runtime.
f8caffd9e6 Remove some uses of Platform.packageRoot.
ebe2f1db2c Adjust status files.
6fcc95d2a4 Adjust status files.
f2f6ebf547 Convert ShadowAssertInitializer to AssertInitializerJudgment.
ea837c91a0 Transition tests to EvaluateCompiledExpression.
3e6e2dd7f4 Convert ShadowAssertStatement to AssertStatementJudgment.
27fefd7bb3 Convert ShadowAwaitExpression to AwaitExpressionJudgment.
dd1c54c442 Convert ShadowBoolLiteral to BoolLiteralJudgement
4a353fea35 Another attempt to fix tests on Windows
a69d922794 Adjust some of the test expectations based on the flip to Dart 2 mode.
b3b8ca6dc4 Remove the --package-default-analysis-options flag.
9943547d5d Default pub to Dart 2 with opt out
aba94f051e Convert ShadowAsExpression to AsJudgment.
bc7220a4fd [VM] Turn dart2 on by default on the command line VM
cdd2553a12 [vm/kernel/bytecode] Fix null handling in operator ==
df2bf6590d [VM runtime] Minor cleanup of stubs on all architectures as already done for x64
b140baeb55 Own files by their URIs during search.
56cee22800 Build out the initial version of the Factory class (and derived classes).
83cb0c425d Fix awaiting void in analyzer ast_test.dart. Fix at method decl.
c9af309cbf Fix fasta parsing of ?. in cascade expression
67695b9842 Fix the dependencies on the dartdevk_sdk build step.
0a59b2ff90 Fix test cases that await "void." Blocks #33415, making that an error
3ba3e2a752 Revert "switch to dart_action until prebuilt Windows Dart VM is updated"
741ed336f1 Improve AstBuilder int literal recovery
e77158eb38 First steps toward generating analyzer/kernel ASTs during type inference.
f1c3f997bd [VM] Clear out return-value-register from call-to-runtime-stub, it needs to be GC-safe for lazy deopts
686fd133a7 [VM interpreter] Propagate unhandled exception returned from jitted code to interpreter.
8fedfc7f8c Removed DomName, DosEditable, and experimental annoations they are unused.
7d94755836 Issue 33471. Use full ResolveResult in Extract Local refactoring.
57c0fc9593 [vm/corelib] More cleanup in integer operations after _Bigint is removed
88d12fda42 Parse throw on RHS of an assignment
1dcc3264e7 Fix tests that are failing on Windows
691313f357 Move newOptionsFile() and newPackagesFile() into ResourceProviderMixin.
e62f563b2d Validate sdkPath in AnalysisContextCollectionImpl.
493c421f0d Add AnalysisContextCollection.
```
2018-07-03 07:37:13 -07:00
Greg Spencer
5a4558f9bf Synchronizes analysis_options.yaml files, and turns on Function typedef lint. (flutter/engine#5419)
Addresses flutter/flutter#18028 for the engine repo, and synchronizes the analysis_options.yaml files between the engine and the flutter/flutter repo.
2018-05-30 16:06:05 -07:00
Alexander Aprelev
a7009740ff Roll dart to f981f097602ca434ce0a36b1f704723cad105fb6 (flutter/engine#5390)
* Roll dart to f981f097602ca434ce0a36b1f704723cad105fb6

Changes since the last roll

```
f981f09760 Revert "Clone annotations when cloning nodes that have them"
b4699ae795 Improve type parameter and type argument recovery
544863fe68 Remove the no-op rewriter tests
4d271519a1 [VM Bigint] Fix arm64 intrinsic for _estimateQuotientDigit (loop missing jump back). Add regression test. Fix arm64 disassembler (was printing "unknow" instructions). Make decoding stricter in arm64 simulator. This fix addresses https://github.com/a14n/dart-rational/issues/19
57d256377c [fuchsia] Update for port API change
c09e0121f7 Observatory strong mode fixes: add explicit downcasts to button onClick callbacks.
a5bf688622 Observatory strong mode fix: Avoid a String/Uri type mismatch.
1b0c2f4507 Observatory strong mode fix: Add VM.target getter.
210d175cc0 Observatory strong mode fix: Fix a callback parameter type using an explicit downcast.
08d0dcb4b0 Observatory strong mode fixes: specify some list literal types.
462e350a6a Observatory strong mode fixes: Change types of InstanceMock/Instance members.
6ed3b162d6 Added feature specification for upper/lower bounds of top/bottom types
abed87be08 Make BodyBuilder.handleCatchBlock use FormalParameters as catchParameters.
5016f11c08 [fasta] Make lists of type arguments growable
48e8b4cdbb Make Forest.forStatement take the conditionStatement rather than extracting the rightSeparator
2d527801b2 Observatory strong mode fixes: fix several type annotations.
0125a5a235 Observatory strong mode fixes: Fix callback parameter types using implicit casts.
c85b2fc7be Observatory strong mode fixes: Fix an int/double type mismatch
3fb22040cb Observatory strong mode fixes: make iteration types more specific.
2165d2d797 Observatory strong mode fixes: safe uses of dynamic and covariant.
6a34939ba7 Use bottom type for Link constants
20831b1d6f Move ErroneousExpressionGenerator
8e25851870 Split LargeIntAccessGenerator
7b3c3991ea Observatory strong mode fixes: add implicit downcasts.
de0e35829d Discover available files before searching in known files.
d17859ca11 Observatory strong mode fixes: make callback parameter types more general.
ca7d545df8 Follow up on initial fix-all fixes PR, https://dart-review.googlesource.com/c/sdk/+/56220, adding some assertions and a test.
922f9697a0 [VM] Fix for issue 32901 - Isolate.resolvePackageUri has inconsistent behavior when called from a script launched via relative path.
9c70462e3c [vm] Roll boringssl to 189270cd190267f5bd60cfe8f8ce7a61d07ba6f4
785f36853f Last changes to make dart2js strong mode clean when compiling itself!
993b4caf0e Make the change to ContextRoot non-breaking.
30ad3f66ce Set DDK to run on Dart-2 VM
379232a097 Convert remaining IdentifierContext consts
819b212318 Issue 33228. Fix Dart2 error in outline computer.
ec19ebd684 [vm] Fix feature detection of DBC32 versus DBC64 in snapshots with code.
00a5197542 More changes to make dart2js dart 2 strong mode clean.
2d8bf7751e CHANGELOG for invariant generic bounds
de545b4079 Revert "[mirrors] Add IsolateMirror.loadUri."
1be13871bb [ VM ] Addressed additional comments from CL 56461.
5cc3736644 [vm/frontend-server] Include errors count into compile expression response.
891efdca59 Fix status file for analyzer.
ad4cfa0260 [mirrors] Add IsolateMirror.loadUri.
a64bbbf6b3 Bump to watcher 0.9.7+8.
eb19be5ff8 [vm/tool] Teach precompiler2 script to build ELF binaries.
7c43cfad9f [vm] Mark superclasses of interfaces implemented.
2f7874ab99 [ VM ] Updated include path for typed_data_utils.h which was causing Flutter build to fail.
3c6907ed0d [vm/kernel/aot] Approximate numerous invocations per selector in TFA
75a75263d3 Clone annotations when cloning nodes that have them
d3da30c152 Report errors on non-synthetic tokens
351d70674d Initial new union of Dart Analysis Fixes, the initial fix is to remove all unused imports in a file.
e8bb129816 Adjusted setter conflict specification, cf. #33077
0a042a270f Fix a bug in the async transformation of let expressions
6fc0c1fa4f [vm/kernel] Only create zone handles when necessary (e.g. in IR instructions, LocalVariable).
735f7bdcec Updated for expected FF failure.
02bcbc12fa [vm/kernel] Fix partial instantiation implementation in StreamingConstantEvaluator.
8d4a1ccaf6 Split ReadOnlyAccessGenerator
ee9e1c1571 Split TypeUseGenerator
9ec756b31c Split DeferredAccessGenerator
163807ad40 Split LoadLibraryGenerator
51fa5c1662 Correctly transform async functions with FutureOr return types
bca70073ae [vm/kernel] Move kernel2kenrel "constants" transformation before TFA
1d8a72cacd Split StaticAccessGenerator
2d46ebd6a5 Fix Dart 2 runtime errors in the front end
89514bd8cf Cleanup library_loader.
21b65a9732 Remove unused typedef code
18407141b7 Split deferred load entity computation by class, member and local function
b84f18e392 [VM] Mark seemingly consistently failing test on windows
d07b9aa0e0 Add explicit type args on generators
b3862d5a92 Split SuperIndexedAccessGenerator
0ec82e24ce Avoid late creation of entities.
1d59ab22ce Fix #29014, make function type parameters invariant.
4d7bbb53ab Use AbstractValue in ClosedWorld
89f37416fe Fix windows bot breakage for package:build tests.
9b44fc39c8 Deprecate chaseDependencies option.
05f96af05a [ VM ] Fix failing non-UTF8 path test on MacOS
c541cda216 [ VM ] Fixed issue where error code was being clobbered by call to Dart_TypedDataReleaseData on Windows, resulting in OSError returning a 0 error instead of the true error code.
a00dae2260 Update test_parseAwaitExpression_inSync
9cd0e808db Convert more identifier contexts
552680b7f0 First round of changes to dart2js to make it strong mode clean.
cc4fe66de8 Replace parseTypeVariables with computeTypeParam
c3b6df5eb7 Update dartdoc and dependencies to v0.19.1.
3ab7cf0590 Revert "[dart:io] Revert recent non-utf8 path handling"
7c59fe6332 Flip dartfmt to run in Dart 2 mode.
ade600c4b3 Update constructor identifier context
e35ed9c749 [ VM / Build ] Added '--no-include-kernel-service' to build.py. By default, the kernel service is now included in all build modes, including product mode. Providing '--no-include-kernel-service' will build the specified configuration without the kernel service.
e5eee0d57a Add Forest support for labeled statements
83e29023f4 Add schema-based file system
8f4c9bcf15 Add single-root file system.
1567b442dd Add Forest support for catch clauses
9816fce289 Fixed to use catchError instead of try/catch.
88d847ea3e [release] Prepare CHANGELOG.md for 2.0.0-dev.58.0
2a5724c75c New package:build workspace before we support it at the language level
4f5db3aef2 Update pub DEP – includes Dart2 type fixes
0a9697596e Add Forest support for for statements
4fb0c60938 [vm/kernel] Set active class when evaluating Dart annotations
8427d53a4d Extra precedence level in parser to distinguish postfix operators and selectors
1ce9b2541b Replace call to parseTypeVariablesOpt with computeTypeParam
f7e09684b6 Split IndexedAccessGenerator and ThisIndexedAccessGenerator
9f3cd54d3b Remove UnhandledListener
98fcc338ca Fix diet_listener.dart imports
3a5454a691 Split SuperPropertyAccessGenerator
e0144d51bb [VM] Add UNREACHABLE() to AOT constant evaluator in the VM
fa6fd26892 Remove unused IdentifierContext instance
cbe76eeea0 [release] Prepare changelog for 2.0.0-dev.57.0
e62f37f396 Tighten failure and success of test.
a80dfa12d7 Revert "Add colons"
443c23c091 Remove subpackage_relationships_test.dart
7583fb882a [vm] Refactor state bits to free up two bits on Function.
0271003c33 Extract parseFunctionLiteral from parseType
b8cb785aed Improve formal parameter identifier recovery
9f1097948a [fasta] Add and use a type-inference-specific interface of BodyBuilder
3960cacc89 Make peek return null when the stack is empty
3582e30d8e [VM] Remove unused _Random._A field in Dart sources and make constant in C++ code instead
f8cca09ce3 [VM] Do not invoke the empty StackOverflowError/OutOfMemoryError constructors
39bccc125d Split NullAwarePropertyAccessGenerator
29253c57ed Add colons
fc95fd920b Move generators out of body_builder
39516de753 Split ThisPropertyAccessGenerator
2d79c356e0 Start creating common superclass for generators
2a7188523e Fixed status
cf87b84f7d Support Promise to Future for both DDC and dart2js.
6d8f473d4f [ VM / Hot Reload ] Updated kernel_service and hot reload behavior to run as long as the compiler returns valid kernel.
f4f79acb61 Improve annotation identifier recovery
3bdd173175 Call computeType rather than parseType
2c8c05f877 [dart2js] merge generator body into empty entry function
96cfc632bb [infra] Use a less specific browser version that works across platforms
3ac2a3fe19 Address comment from 55981
8c0f5747a0 Add build_integration package and move multi_root_file_system there.
ba0da68563 Update status for new test
3f6c87d5ac [vm/compiler] Do not use Constant(#null) to reserve space on the expression stack.
a756248065 Add Forest support for assert statements and initializers
a9ab8f4e7d [GN] Hack around Dart 2 application_snapshot deps issue
298129c3a4 Improve part of identifier recovery
371c8e4b87 Append version and CRC32 to data in FileByteStore.
6cc0d9770f Skip expressions by parsing them with a no-op listener.
3ccd5a06f5 [js_runtime] Fix for 'o is FutureOr<T>' with function type T
d34fe65afa Revert "New package:build workspace before we support it at the language level."
580e486386 Make CastStreamSubscription.onData handle a null callback
2a8eb8089d [infra] Specify chrome version used by builds running on the test matrix
eeec6466b6 Convert the command-line analyzer to a dart 2 snapshot.
89df6b785d Issue 33181. Use RefactoringWorkspace in rename refactoring to determine when element being renamed is outside the workspace.
85ddeb990a [release] Prepare changelog for 2.0.0-dev.56.0
7ff8adcec9 Fix an incorrect dart:mirrors test
08d466bfad [kernel] Treat TypeParameter.defaultType as a child in visit methods
330dcb19da Rename remaining generators
2c9d8924e3 [fasta] Make explicit Object in bound a constraint during type inference
5924c35640 Prepare to remove expression_generator_impl.dart
c771e4d132 DDC: disallow ignore option on Stream cast failures
e191d4feb5 Simplify errors on invalid arguments
7ab9ea0e4e Change return type of Fangorn.parenthesizedCondition
09582b46ea Remove FastaAccessor and Accessor
a738567968 Convert ContextAccessor to ContextAwareGenerator
bbdf560ee7 Convert UnresolvedAccessor to UnresolvedNameGenerator
b5c6143d74 Convert IncompleteSend to IncompleteSendGenerator
63ff7ee922 [vm/interpreter] Support closures in bytecode. Support reordered bytecode metadata sections. For now, read but ignore exceptions table in bytecode metadata.
e1cabfd1d4 [dart2js]  'Fix' error in registrations
49d5ca3bb4 Switch to BigInt for ConstantValue.
9696c9dcd0 Change analysis_server tests to use /project/test.dart as the test file.
e71bd048e5 [vm, kernel] Fix async stack code traversal in dart2.
714697efbb [vm/kernel/bytecode] Write constant pool before bytecode and exceptions table
80b48195b1 [frontend-server] Serialize compiled expression procedure into the file.
68b19b4ff4 [vm/kernel/bytecode] Add invocation kind to StaticICData constant
929b79e865 [dart2js] Don't insert redundant checks
4cf51e6c1a Give (the old) ContextRoot path.Context to work with paths.
bea580c3a4 Disallow ignore on any explicit cast failures
1cf871a4d2 Improve import/export combinator identifier recovery
79a0ef60e0 Fix for 'Convert to final field' quick assist when no return type.
bbb8905075 Observatory strong mode fixes: specify type argument to .map when not inferable.
841a91b3a0 Observatory strong mode fixes: Add abstract Location.toUserString to Location.
fc206a7589 Add Kill isolate service request.
aad3270ab8 Observatory strong mode fixes: fix C-style parameter declarations.
ea4d10915c Observatory strong mode fixes: make return types more specific.
0f506ba3ae Added period to comment for consistency.
5ab4294074 [vm] Allow for creating a CoreJIT snapshot from a kernel file.
d5b99860e4 [frontend-server] Introduce compile-expression command.
ac8971a98a New package:build workspace before we support it at the language level.
99eb2195c8 Add Forest support for break and continue statements
4d3ebab589 [vm] Fix error message when an API function is called without a current isolate.
c31b9a461d [vm/kernel] Reference constants in Dill by offset into constants table.
0ff6c20c66 Add Forest support for return statements
85fbc71f22 More test framework cleanup
6202749429 [vm/kernel/bytecode] Support try-catch-finally in bytecode generator
78cc8a13a2 Improve type parameter recovery
3e7eef12d4 Remove reference to token.previous
5b4d67b22e Compute runtime completions in the context file itsef.
720b6c963c Improve some tests and fix a Dart 2 error
ff76905aeb [dart2js] Don't try to generate stubs for generator bodies
4610daa1c1 Convert ThisAccessor to ThisAccessGenerator
cb9bf910f9 Test that fasta_codes_generated.dart is up to date
eec11ebe4a Convert ErrorAccessor to ErroneousExpressionGenerator
a155d6c9e5 Update dependencies on async, collection, http_throttle packages
ce1dc86620 Adjust status file.
21fbf7d767 fix #33103, switch dartdevk to use Kernel nSM stubs
5632b1cb47 Adjust status file for precompiled target (see issue 33168)
41468e7c03 [VM] bypass some app_jit tests which have issues with mismatched VM options between the snapshot version and the invoked dart process.
c38bca632d [fuchsia] Fix bad state error on namespace cleanup
b911f78ee2 Use AbstractValue/AbstractValueDomain in function_set.dart
c9ea44bd8f Use the static type from the identifier element is local completions.
715ba58048 Remove reference to token.previous
4edb23cfc1 Bump to linter 0.1.51.
2ff2af7921 Allow running pub with --preview-dart-2
7aacf7e188 [ VM / dart:io ] Fixed memory leak in SecurityContext on MacOS.
ada23cde0b Add deferred test for local functions
f1f660fe1e Small cleanup
9f6e8a3a96 Move DDC to Dart 2 snapshot
be5b189c19 Exclude synthetic import prefixes from runtime completion.
7ac05a120a Add Forest support for do statements
029e1394f7 Make type promotion conditional depending on which builder is being used
817965f49d Runtime completion support for constructors, for loops, and function expressions.
02e47a9731 [VM] Fix for issue 32188 (cannot use `pub` with --preview-dart-2)
```

* Update license. Fix to license script to accommodate boringssl additional build-time license

* Revert changes to pubspec.lock

* Roll to buildroot with boringssl fix

* Update license
2018-05-26 12:17:26 -07:00
Todd Volkert
47746e586a Revert "Dart SDK roll for 2018-05-25" (flutter/engine#5384)
Reverts flutter/engine#5376

It was causing failures of the sort:

$ flutter test --local-engine=host_debug_unopt test/cupertino/scrollbar_paint_test.dart
00:06 +0: - Paints iOS spec                                                                                                                                                                                                
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure object was thrown running a test:
  Expected: Object or closure painting: 'a rounded rectangle with Color(0x99777777),
  RRect.fromLTRBR(795.0, 4.0, 797.5, 86.0, 1.3)'
  Actual: ?:<exactly one widget with type "CupertinoScrollbar" (ignoring offstage widgets):
  CupertinoScrollbar(state: _CupertinoScrollbarState#c371a(tickers: tracking 1 ticker))>
   Which: threw the following exception:
          '': error: native function 'Canvas_translate' (3 arguments) cannot be found
2018-05-25 14:47:31 -07:00
Ben Konyi
0f97c842e4 Dart SDK roll for 2018-05-25 (flutter/engine#5376)
1be13871bb7 [ VM ] Addressed additional comments from CL 56461.
5cc37366445 [vm/frontend-server] Include errors count into compile expression response.
891efdca599 Fix status file for analyzer.
ad4cfa0260f [mirrors] Add IsolateMirror.loadUri.
a64bbbf6b30 Bump to watcher 0.9.7+8.
eb19be5ff84 [vm/tool] Teach precompiler2 script to build ELF binaries.
7c43cfad9fd [vm] Mark superclasses of interfaces implemented.
2f7874ab99a [ VM ] Updated include path for typed_data_utils.h which was causing Flutter build to fail.
3c6907ed0d2 [vm/kernel/aot] Approximate numerous invocations per selector in TFA
75a75263d35 Clone annotations when cloning nodes that have them
d3da30c152e Report errors on non-synthetic tokens
351d70674d2 Initial new union of Dart Analysis Fixes, the initial fix is to remove all unused imports in a file.
e8bb129816f Adjusted setter conflict specification, cf. #33077
0a042a270f5 Fix a bug in the async transformation of let expressions
6fc0c1fa4fb [vm/kernel] Only create zone handles when necessary (e.g. in IR instructions, LocalVariable).
735f7bdcec5 Updated for expected FF failure.
02bcbc12fa2 [vm/kernel] Fix partial instantiation implementation in StreamingConstantEvaluator.
8d4a1ccaf6d Split ReadOnlyAccessGenerator
ee9e1c15719 Split TypeUseGenerator
9ec756b31c7 Split DeferredAccessGenerator
163807ad406 Split LoadLibraryGenerator
51fa5c16628 Correctly transform async functions with FutureOr return types
bca70073ae0 [vm/kernel] Move kernel2kenrel "constants" transformation before TFA
1d8a72cacdf Split StaticAccessGenerator
2d46ebd6a5c Fix Dart 2 runtime errors in the front end
89514bd8cf7 Cleanup library_loader.
21b65a97328 Remove unused typedef code
18407141b7a Split deferred load entity computation by class, member and local function
b84f18e3929 [VM] Mark seemingly consistently failing test on windows
d07b9aa0e07 Add explicit type args on generators
b3862d5a922 Split SuperIndexedAccessGenerator
0ec82e24ce1 Avoid late creation of entities.
1d59ab22ce1 Fix #29014, make function type parameters invariant.
4d7bbb53ab5 Use AbstractValue in ClosedWorld
89f37416fec Fix windows bot breakage for package:build tests.
9b44fc39c86 Deprecate chaseDependencies option.
05f96af05a9 [ VM ] Fix failing non-UTF8 path test on MacOS
c541cda2161 [ VM ] Fixed issue where error code was being clobbered by call to Dart_TypedDataReleaseData on Windows, resulting in OSError returning a 0 error instead of the true error code.
a00dae22601 Update test_parseAwaitExpression_inSync
9cd0e808db2 Convert more identifier contexts
552680b7f04 First round of changes to dart2js to make it strong mode clean.
cc4fe66de8f Replace parseTypeVariables with computeTypeParam
c3b6df5eb79 Update dartdoc and dependencies to v0.19.1.
3ab7cf05904 Revert "[dart:io] Revert recent non-utf8 path handling"
7c59fe63326 Flip dartfmt to run in Dart 2 mode.
ade600c4b39 Update constructor identifier context
e35ed9c7495 [ VM / Build ] Added '--no-include-kernel-service' to build.py. By default, the kernel service is now included in all build modes, including product mode. Providing '--no-include-kernel-service' will build the specified configuration without the kernel service.
e5eee0d57a1 Add Forest support for labeled statements
83e29023f4d Add schema-based file system
8f4c9bcf159 Add single-root file system.
1567b442ddc Add Forest support for catch clauses
9816fce2897 Fixed to use catchError instead of try/catch.
88d847ea3e6 [release] Prepare CHANGELOG.md for 2.0.0-dev.58.0
2a5724c75c8 New package:build workspace before we support it at the language level
4f5db3aef2c Update pub DEP – includes Dart2 type fixes
0a9697596e3 Add Forest support for for statements
4fb0c609387 [vm/kernel] Set active class when evaluating Dart annotations
8427d53a4d8 Extra precedence level in parser to distinguish postfix operators and selectors
1ce9b2541b9 Replace call to parseTypeVariablesOpt with computeTypeParam
f7e09684b6d Split IndexedAccessGenerator and ThisIndexedAccessGenerator
9f3cd54d3bb Remove UnhandledListener
98fcc338ca0 Fix diet_listener.dart imports
3a5454a691c Split SuperPropertyAccessGenerator
e0144d51bbe [VM] Add UNREACHABLE() to AOT constant evaluator in the VM
fa6fd268923 Remove unused IdentifierContext instance
cbe76eeea01 [release] Prepare changelog for 2.0.0-dev.57.0
e62f37f3961 Tighten failure and success of test.
a80dfa12d7c Revert "Add colons"
443c23c0913 Remove subpackage_relationships_test.dart
7583fb882ab [vm] Refactor state bits to free up two bits on Function.
0271003c332 Extract parseFunctionLiteral from parseType
b8cb785aed9 Improve formal parameter identifier recovery
9f1097948af [fasta] Add and use a type-inference-specific interface of BodyBuilder
3960cacc89e Make peek return null when the stack is empty
3582e30d8ec [VM] Remove unused _Random._A field in Dart sources and make constant in C++ code instead
f8cca09ce3d [VM] Do not invoke the empty StackOverflowError/OutOfMemoryError constructors
39bccc125d0 Split NullAwarePropertyAccessGenerator
29253c57edd Add colons
fc95fd920bb Move generators out of body_builder
39516de7531 Split ThisPropertyAccessGenerator
2d79c356e09 Start creating common superclass for generators
2a7188523e6 Fixed status
cf87b84f7d5 Support Promise to Future for both DDC and dart2js.
6d8f473d4f6 [ VM / Hot Reload ] Updated kernel_service and hot reload behavior to run as long as the compiler returns valid kernel.
f4f79acb61d Improve annotation identifier recovery
3bdd1731753 Call computeType rather than parseType
2c8c05f877b [dart2js] merge generator body into empty entry function
96cfc632bb0 [infra] Use a less specific browser version that works across platforms
3ac2a3fe19c Address comment from 55981
8c0f5747a08 Add build_integration package and move multi_root_file_system there.
ba0da68563f Update status for new test
3f6c87d5ace [vm/compiler] Do not use Constant(#null) to reserve space on the expression stack.
a7562480655 Add Forest support for assert statements and initializers
a9ab8f4e7d2 [GN] Hack around Dart 2 application_snapshot deps issue
298129c3a42 Improve part of identifier recovery
371c8e4b870 Append version and CRC32 to data in FileByteStore.
6cc0d9770f7 Skip expressions by parsing them with a no-op listener.
3ccd5a06f5f [js_runtime] Fix for 'o is FutureOr<T>' with function type T
d34fe65afad Revert "New package:build workspace before we support it at the language level."
580e486386d Make CastStreamSubscription.onData handle a null callback
2a8eb8089dc [infra] Specify chrome version used by builds running on the test matrix
eeec6466b6a Convert the command-line analyzer to a dart 2 snapshot.
89df6b785d3 Issue 33181. Use RefactoringWorkspace in rename refactoring to determine when element being renamed is outside the workspace.
85ddeb990a8 [release] Prepare changelog for 2.0.0-dev.56.0
7ff8adcec9d Fix an incorrect dart:mirrors test
08d466bfad9 [kernel] Treat TypeParameter.defaultType as a child in visit methods
330dcb19dab Rename remaining generators
2c9d8924e31 [fasta] Make explicit Object in bound a constraint during type inference
5924c356401 Prepare to remove expression_generator_impl.dart
c771e4d1325 DDC: disallow ignore option on Stream cast failures
e191d4feb5f Simplify errors on invalid arguments
7ab9ea0e4e0 Change return type of Fangorn.parenthesizedCondition
09582b46ea0 Remove FastaAccessor and Accessor
a7385679685 Convert ContextAccessor to ContextAwareGenerator
bbdf560ee7e Convert UnresolvedAccessor to UnresolvedNameGenerator
b5c6143d74d Convert IncompleteSend to IncompleteSendGenerator
63ff7ee922f [vm/interpreter] Support closures in bytecode. Support reordered bytecode metadata sections. For now, read but ignore exceptions table in bytecode metadata.
e1cabfd1d43 [dart2js]  'Fix' error in registrations
49d5ca3bb4d Switch to BigInt for ConstantValue.
9696c9dcd08 Change analysis_server tests to use /project/test.dart as the test file.
e71bd048e57 [vm, kernel] Fix async stack code traversal in dart2.
714697efbb9 [vm/kernel/bytecode] Write constant pool before bytecode and exceptions table
80b48195b16 [frontend-server] Serialize compiled expression procedure into the file.
68b19b4ff44 [vm/kernel/bytecode] Add invocation kind to StaticICData constant
929b79e8653 [dart2js] Don't insert redundant checks
4cf51e6c1af Give (the old) ContextRoot path.Context to work with paths.
bea580c3a45 Disallow ignore on any explicit cast failures
1cf871a4d26 Improve import/export combinator identifier recovery
79a0ef60e01 Fix for 'Convert to final field' quick assist when no return type.
bbb8905075f Observatory strong mode fixes: specify type argument to .map when not inferable.
841a91b3a01 Observatory strong mode fixes: Add abstract Location.toUserString to Location.
fc206a7589a Add Kill isolate service request.
aad3270ab81 Observatory strong mode fixes: fix C-style parameter declarations.
ea4d10915c0 Observatory strong mode fixes: make return types more specific.
0f506ba3ae9 Added period to comment for consistency.
5ab42940745 [vm] Allow for creating a CoreJIT snapshot from a kernel file.
d5b99860e40 [frontend-server] Introduce compile-expression command.
ac8971a98a8 New package:build workspace before we support it at the language level.
99eb2195c8e Add Forest support for break and continue statements
4d3ebab589e [vm] Fix error message when an API function is called without a current isolate.
c31b9a461d9 [vm/kernel] Reference constants in Dill by offset into constants table.
0ff6c20c666 Add Forest support for return statements
85fbc71f225 More test framework cleanup
62027494294 [vm/kernel/bytecode] Support try-catch-finally in bytecode generator
78cc8a13a2b Improve type parameter recovery
3e7eef12d4d Remove reference to token.previous
5b4d67b22e1 Compute runtime completions in the context file itsef.
720b6c963c4 Improve some tests and fix a Dart 2 error
ff76905aebb [dart2js] Don't try to generate stubs for generator bodies
4610daa1c10 Convert ThisAccessor to ThisAccessGenerator
cb9bf910f9b Test that fasta_codes_generated.dart is up to date
eec11ebe4af Convert ErrorAccessor to ErroneousExpressionGenerator
a155d6c9e59 Update dependencies on async, collection, http_throttle packages
ce1dc866207 Adjust status file.
21fbf7d7677 fix #33103, switch dartdevk to use Kernel nSM stubs
5632b1cb473 Adjust status file for precompiled target (see issue 33168)
41468e7c031 [VM] bypass some app_jit tests which have issues with mismatched VM options between the snapshot version and the invoked dart process.
c38bca632df [fuchsia] Fix bad state error on namespace cleanup
b911f78ee23 Use AbstractValue/AbstractValueDomain in function_set.dart
c9ea44bd8fe Use the static type from the identifier element is local completions.
715ba58048d Remove reference to token.previous
4edb23cfc17 Bump to linter 0.1.51.
2ff2af79213 Allow running pub with --preview-dart-2
7aacf7e188b [ VM / dart:io ] Fixed memory leak in SecurityContext on MacOS.
ada23cde0b8 Add deferred test for local functions
f1f660fe1e6 Small cleanup
9f6e8a3a96a Move DDC to Dart 2 snapshot
be5b189c19c Exclude synthetic import prefixes from runtime completion.
7ac05a120ad Add Forest support for do statements
029e1394f7d Make type promotion conditional depending on which builder is being used
817965f49d1 Runtime completion support for constructors, for loops, and function expressions.
02e47a97313 [VM] Fix for issue 32188 (cannot use `pub` with --preview-dart-2)
2018-05-25 10:37:58 -07:00
Vyacheslav Egorov
c8c5afc95a Generate frontend server's .packages from Dart .packages file instead of using pub get. (flutter/engine#5360)
Dart SDK itself does not use pub which forced us to manually maintain dependecy
overrides in the frontend server's pubspec.yaml. This is rather fragile and
easily breaks when dependencies in one of the "internal" packages change, but
the package is not published yet.

This change switches us to the same model of dependcies management that Dart SDK
itself is using.

Down side of this is that we can no longer do pub run test in the
frontend_server and have to run tests manually.
2018-05-24 18:33:52 +02:00
Siva
f1cf718e49 Roll Dart to version 97b6c2e09d6532eeb622d85f23109f3f3b6d2b61 (flutter/engine#5317)
* Roll Dart to version 97b6c2e09d6532eeb622d85f23109f3f3b6d2b61

This dart roll includes the following changes:

97b6c2e09d Don't give Source and ResourceProvider to CompletionRequestImpl.
04816270fa Add Forest support for creating parenthesized conditions
7a90ed9b88 Tests for completion with nested blocks, functions, and methods.
353ddbaea1 Add Forest support for while statements
8d0bda43f3 Fix codesize regression from Cleanup after removing MirrorsData
802c25aff9 Add tests to test InstanceCreationExpressionImpl.canBeConst
def6f6c86c Don't create linked groups when nothing was written.
0c2b349827 Blocks and variable declarations in Forest
5ecf69d90a [fasta] Use Object as defaultType if Object is the explicit bound
4bac17655d [kernel/vm] VM support for instantiate-to-bounds.
a4494a7fb2 Make `mixin` and `interface` built-in identifiers.
dc76aa34c7 Stop using a port to keep the isolate alive in async_helper.
a16563931c [VM] Mark 3 more tests as pass, crash
a5d4195b0b CHANGELOG entry for noSuchMethod change
d49af06ce0 Fix for searching references to named parameters in hierarchy.
c26435f18f [dart:io] Add length check assert to x509 code
6fee620564 Convert more IdentiferContext consts
a6ad152315 Fix constant-related deprecation warnings in analyzer packages
3e8ca8e0a6 Improve class declaration header recovery
ffd5a1914d Update top level function name identifier context
24f5ca0187 [fuchsia] Use Fuchsia prebuilts
1a2f317735 Update parse mixin to use computeType and add recovery tests
1d6619eba6 [infra] Upgrade checked in SDKs to 2.0.0-dev.55.0
76a30dd594 Initial implementation of 'execution.getSuggestions'.
510669a0b4 [VM] Address uncovered issues, mark test as passing
abb1ee98f7 Move library related operations to DartFileEditBuilderImpl. Initialize enclosing elements into fields lazily.
7d5ebb937b A few more Analyzer/CFE type argument tests
11006c3bac Reland "[VM] Use IR for code in [CatchEntryInstr]s to populate captured exception/stacktrace variables"
e7495e427c [dart:io] Adds X509Certificate.der and X509Certificate.pem
62ffedefdd Rewrite writing types to using existing writeXYZ() methods.
e6fc78c87b Revert "Reland "[VM] Use IR for code in [CatchEntryInstr]s to populate captured exception/stacktrace variables""
d59745029a [fasta] Update expectation files after CL 50945
6fc4854e98 [fasta] Run instantiate-to-bound on functions
23b4a505ec Reland "[VM] Use IR for code in [CatchEntryInstr]s to populate captured exception/stacktrace variables"
23c8c4d101 [vm/kernel] Pass type variables through ActivationFrame for expression compilation.
b827b70e89 Extract IdentifierContext.typeVariableContext into new subclass
b7659e6d03 Improve typedef declaration recovery
7c1ae73a21 Fix a Dart 2 runtime bug in BodyBuilder
38cb4cbc0a [VM] Update status file to make hot-reload builders green
1be81b4a96 [VM] Skip vm/dart/appjit_test on opt-counter builder
4d22c0de58 [infra] Improve cycle time of dart2js builders
812189d3e7 Convert LargeIntAccessor to LargeIntAccessGenerator
5e98c49606 Convert ReadOnlyAccessor to ReadOnlyAccessGenerator
17e284fbc2 Convert DeferredAccessor to DeferredAccessGenerator
d5719cae62 Small cleanup in compiler.dart
54173bf293 Move TypeMask cache to CommonMasks
78f348b3d5 Don't export types/masks.dart from types/types.dart
d2d763411d Use AbstractValue in inference results.
1c0b52ccc0 Reapply "Cleanup after removing MirrorsData" with fix
e491bc5d86 Allow to specify what dill file to initialize from
8101ee0479 [kernel] Remove unused GlobalIndexer from ast_to_binary.dart
dc8e621451 [js_runtime] Avoid more casts
0ad2b1243d Use carbon copy buffer field instead of passing it around.
6d55ba3037 [dart2js] Remove checks from inlined static call sites
6363cf6d3d Add new handleParenthesizedCondition event
393a47441f fix #33138, local class name should not conflict with inline-JS in SDK
6c3a861f8f [dart2js] Check arguments declared with generic method type parameter
499c25d886 [fuchsia] Update FIDL include paths.
d91af4625c Fix fix import URIs from file:// URIs on Windows.
53a51d17db Support for optional ImportPrefixGenerator to generate prefixes for new imports.
338a423416 Add Forest support for creating try statements
757ef3979c Revert "Revert "Revert "Don't do implicit new/const code generation with --preview-dart-2 enabled."""

* Update license.

* barback has been removed.

* Update license file.

* Update license file.
2018-05-21 10:15:57 -07:00
Siva
80a6a46fb4 Roll Dart to version fe606f890b0a311da802c78b0af414a3c2087a79 (flutter/engine#5033)
fe606f890b Revert [vm/compiler] Canonicalize more intermediate constants in IL.
54531ad4e7 Bring in the latest pub_semver
61b15fede8 [build] Remove unnecessary inputs from uses of application_snapshot.
9968728df1 Remove package:cli_util deps from package:analyzer.
0ca8b6e5be Improve recovery when "assert" is used in an expression
6de5da1f58 fix #32649, add an option to disable asserts in DDC/K
afbaf0c4a6 Add 'Extract Widget' to getAvailableRefactorings().
d4a1896cfb Demote IMPORT_DUPLICATED_LIBRARY_NAMED to a warning
f85480b4dd Add tests for CFE implementation of expression compilation.
a865531f57 Remove two unused classes from the public API
3b7199fe63 [standalone] Only allow one outstanding load when running with --deterministic.
35fecb4a10 Issue 32896. Add isXYZ accessors to ParameterElementForLink_VariableSetter.
8df94f34fd Improve fasta parser await-for statement recovery
dd897d35a2 Move the task API out of the public API
c32e0e4bf3 [vm] Clear trailing bytes of objects that end up in snapshot images.
3a5fcf5a87 Upgrade the dep on package:isolate.
973a1a0219 Remove uses of upper-case constants in remaining SDK code.
b3595d59b3 [VM] Revert small change in FlowGraphCompiler::EmitTestAndCallCheckCid
0cbd4b520a Address review comments from change 51120
5dd283e783 fix #32270, DDC tests can now work with preview-dart-2
ce2b0db370 Improve fasta parser "assert" recovery
f8f5365a94 [vm/compiler] Fix sorting of instructions stats.
30655dcea0 [vm/aot] Treat Endian.host as a compile time constant.
eeaea82b75 Update status on test that often times out
805c08d8bf Fix a run-time type issue when running in Dart 2 mode
b1bc4ed2b5 Handle as in nested const constructors
823dfda5a5 Delete serialization, except for equivalence and helpers used in other tests.
7383cd46e0 Fix for issue 32872
86ba29265a Clean up the use of deprecated API in the analyzer_plugin package
fbb60b786f Add generic bounds test to function_type_variable_test
fd5f998796 [vm] Delta-encode offsets into ROData.
6fe7a86e7f Replace SourceFactory.resolveUri() with resolveRelativeUri() in resynthesizer.
2fb94418cd Mark mirrors test crashing.
c2b338f1b7 Remove fuzzy arrow support from analyzer
9976cddcd7 Shared cache of FileState contents.
b52931ff30 Revert "[vm/kernel] Fix non-canoncialized type arguments in partial instantiation."
c214c43758 Make LineInfo a public class
bd12c869ae [vm/kernel] Fix non-canoncialized type arguments in partial instantiation.
51a2f96a71 Always call writeAnnotationList to write annotations.
974a8ee21d Fix crash in named function expression
988de9c925 Thread forest object through calls
51f9d243e7 [VM] Mark type as finalized before calling the Canonicalize() method
a8578eaf69 Clean up some imports in Fasta type inference
e9616da13e Cleanup TypeInfo
3b414a277c Reland "[VM] Introduction of type testing stubs - Part 1-4"
c5f69dff2d Include `call` on Closure in inference
826928e2ab Use _trust to test inference of --omit-implicit-checks
6802746ad7 Fixed a couple of typos in subtyping.md
782cfe04d1 fix #32756, DDC dynamic calls to generics will work with emit-metadata
8613938e33 fix DDK to track mock setters correctly.
92f1d0fab4 [gn] Allow single or double quotes in .config
e2ee654cd1 Make a method in MempryResourceProvider private
b0fafbd1f4 Clean up js_runtime parse/tryParse methods
5e1cb4d41b Make SourceRange part of analyzers public API
1ab4cee181 Add a benchmark for running flutter analyze --flutter-repo against flutter head.
ff24a5ee6b fasta: make strong-mode inference aware of the type of LoadLibrary and CheckLibraryIsLoaded
6d7df88fa3 Delay computing file name sets until they are requested.
b7cc1e7ce7 Fix stack overflow in RTI computation
6db4ea4ca5 [vm] Use unsigned varints when possible in the clustered snapshot.
2018-04-18 11:07:56 +02:00
Todd Volkert
dd9b7675de Revert "Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79" (flutter/engine#5023)
This reverts commit 2983a1b6130a10aadb0f64a6ff411890a794c92f.
2018-04-16 21:50:11 -07:00
Régis Crelier
2983a1b613 Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79 (flutter/engine#5020) 2018-04-16 17:25:39 -07:00
Alexander Aprelev
00424d36f7 Perform exit from server, not starter as awaiting from starter causes hanging in incremental compilation scenario. (flutter/engine#4955) 2018-04-09 14:34:46 -07:00
Alexander Aprelev
0f5bffce62 Return non-zero exit code when frontend reports errors. (flutter/engine#4952) 2018-04-09 13:06:59 -07:00
Alexander Aprelev
8dc44e0d70 Leave only widget creation tracker kernel pass in flutter frontend server. (flutter/engine#4727)
* Leave only widget creation tracker kernel pass in flutter frontend server.

This is follow-up to https://dart-review.googlesource.com/c/sdk/+/43888.

* Adapt to updated interface

* Tyop

* Fix imports. Compiler interface extension

* Add trivial test back. Rename library to flutter_frontend_server.
2018-03-02 07:52:19 -08:00
Alexander Markov
8bd1d0d50e Move generated entry points JSON out of flutter_patched_sdk, add an option to pass entry points to frontend_server (flutter/engine#4734)
Flutter downloads only one version of flutter_patched_sdk, which was obtained from host_debug build on Linux. Generated entry points JSON files are different in profile and release builds (as release build omits observatory), so these files should be downloaded independently of flutter_patched_sdk.

This PR moves generated entry points JSON files from flutter_patched_sdk to a separate directory (out/*/dart_entry_points) and adds an option to specify entry points to frontend_server (as Flutter tools will need to pass custom locations of entry points files outside of flutter_patched_sdk).
2018-03-01 14:02:35 -08:00
jensjoha
ae33eb844f Specify sdkSummary when compiling via frontend server (flutter/engine#4733)
Without specifying sdkSummary it defaults to vm_outline.dill which is not what we want if using mixins from the sdk.
2018-03-01 11:32:08 +01:00
Alexander Markov
446118c542 Prepare to enable global type flow analysis in AOT (flutter/engine#4725)
* Generate Flutter-specific entry points JSON file while building engine.
* Add ''--tfa' option to front-end server.
* Rename _entryPoint field in front-end server to _mainSource to avoid disambiguation.
2018-02-28 15:31:52 -08:00
Alexander Aprelev
91babc8e83 Fix analyzer warning. (flutter/engine#4715)
* Fix analyzer warning.

  warning • This function declares a return type of 'Future<void>', but doesn't end with a return statement at flutter/frontend_server/lib/server.dart:340:1 • missing_return

* Remove await

* Ignore warning.
2018-02-26 10:56:51 -08:00
Alexander Aprelev
a9798b413c Add an option '--depfile' to produce ninja-style depfile for the generated kernel. (flutter/engine#4704)
* Add an option '--depfile' to produce ninja-style depfile for the generated kernel file.

* Use [program.uriToSource] as a source of dependencies.
2018-02-26 08:55:20 -08:00
Alexander Aprelev
294daddbf1 Add option for recompile request to switch to new main file(entrypoint). (flutter/engine#4703)
* Add option for recompile request to switch to new main file(entrypoint).

This is needed to reuse incremental compiler to compile unrelated programs. First use case is reuse single
incremental compiler for all tests run by 'flutter test'

* Remove left over print
2018-02-22 23:08:54 -08:00
Alexander Aprelev
9742ed5cb6 Write artifacts produced during frontend_server training into temp folder. (flutter/engine#4687)
* Write artifacts produced during frontend_server training into temp folder.

* Write artifacts produced during frontend_server training into temp folder.

* Fix File/String mixup

* Remove temp directory. Use full prefix for package

* Delete in finally {}
2018-02-18 14:48:55 -08:00
Alexander Aprelev
c5feb1bb10 Remove workaround for handling of relative paths (flutter/engine#4673) 2018-02-13 18:46:00 -08:00
Alexander Aprelev
c69188ad9f Add output path option (flutter/engine#4663) 2018-02-13 14:00:34 -08:00
Jacob Richman
a98c9a16a6 Track widget creation locations. (flutter/engine#4529)
* Track widget creation locations.
2018-02-13 12:33:23 -08:00
Alexander Aprelev
69c776b209 Switch to accept/reject-friendly incremental compiler (flutter/engine#4601)
* Switch to accept/reject-friendly incremental compiler

* Merge
2018-02-13 06:58:04 -08:00
Alexander Markov
1aac5e6ed4 Roll Dart to 223eeb2ebe112aaaddca206aab55cd54b4e54391 (flutter/engine#4659)
* Roll Dart to 223eeb2ebe112aaaddca206aab55cd54b4e54391
* Update licenses
* Make analyzer happy, fix test for change in mockito
2018-02-12 14:47:18 -08:00
Alexander Aprelev
d8718d5feb Use Uri.file expecting filepath (flutter/engine#4646) 2018-02-07 15:24:44 -08:00
jensjoha
b7a3eb583d Let frontend_server bootstrap the incremental compiler from a previou… (flutter/engine#4642)
* Let frontend_server bootstrap the incremental compiler from a previously build dill file

* Wrap 'invalidateIfBootstrapping' in try and don't bootstrap if getting an exception
2018-02-07 14:03:05 -08:00
Alexander Aprelev
b4425bcd06 Fix default value for 'packages' option to be null (flutter/engine#4570) 2018-01-18 17:12:29 -08:00
Alexander Aprelev
a8e9231915 Accommodate flutter test --preview-dart-2 on windows and linux (flutter/engine#4564)
* Support .packages option in frontend_server, bundle_path in main_mac.

This is needed to be able to run  in  mode.

* Remove byte store tests

* Remove unused import

* Fix formatting

* Enable flutter test argument passing on win and linux.

* Fix formatting
2018-01-18 16:05:19 -08:00
Siva Chandra
f8600043cc Roll Dart to 93d8c9fe2a2c22dc95ec85866af108cfab71ad06. (flutter/engine#4558)
* Roll Dart to 93d8c9fe2a2c22dc95ec85866af108cfab71ad06.

* Fix analyzer nits

* Try to pin dependency for tools/licenses to convert 2.0.1. Add verbose flag to pub get

* Pin dart to dev.16 to overcome pub issue

* Revert "Try to pin dependency for tools/licenses to convert 2.0.1. Add verbose flag to pub get"

This reverts commit d525a83f4494a511996226d328a5208d4651d46e as it is no
longer needed, was added to diagnose the problem, which turned out to be
a problem with pub in latest dart dev release.

* Fix license hash

* Reintroduce api methods and tests
2018-01-18 12:35:09 -08:00
Ian Hickson
28564ac5f9 Analysis cleanup of the Dart in the Engine repo (flutter/engine#4554)
* Analysis cleanup of the Dart in the Engine repo

* Update painting.dart

* Update painting.dart
2018-01-17 09:48:56 -08:00
jensjoha
54fdc2f5ae Train frontend_server snapshot (flutter/engine#4560)
Reland d7e7abbcc2dfac04861e257a35d5e6314f27e182 with a fix for Windows build

Cuts 30% from hot-reload benchmarks with `--preview-dart-2`
2018-01-17 10:33:10 +01:00
Alexander Aprelev
c03cd3798d Revert "Train frontend_server snapshot (#4512)" (flutter/engine#4556)
This reverts commit d7e7abbcc2dfac04861e257a35d5e6314f27e182 as it
breaks Windows engine buildbot.
2018-01-16 10:05:00 -08:00
jensjoha
d7e7abbcc2 Train frontend_server snapshot (flutter/engine#4512)
Cuts 30% from hot-reload benchmarks with `--preview-dart-2`
2018-01-15 15:59:57 +01:00
Siva
04d910f0b1 Add support for --strong option in the engine, create a strong mode version of the platform file (flutter/engine#4504)
* Add a --strong option to the front end server so we can use strong mode with preview-dart-2.

* Plumb the --strong option through the dart controller into the VM.

* - Build a strong version of platform.dill for use with the engine.
- Fix a strong mode static error in the assert statement

* Enable asserts when running debug version even in strong mode.

* Use the correct platform dill file for linking when doing the aot builds.

* Fix formatting issue.
2018-01-03 16:52:24 -08:00
Alexander Aprelev
12e9e426fa Revert "Revert "Fix filename handling for Windows. (#4482)" (#4484)" (flutter/engine#4506)
* Revert "Revert "Fix filename handling for Windows. (#4482)" (#4484)"

This reverts commit fc9dac8435bc01141c549436262139ad7cee8c93.

Reverting now since issue with
gen_snapshot(as described in https://github.com/flutter/flutter/issues/13708) was fixed.

* resolve->resolveUri, drop underscores

* Fix underscore
2018-01-03 09:43:35 -08:00
Alexander Aprelev
fc9dac8435 Revert "Fix filename handling for Windows. (#4482)" (flutter/engine#4484)
This reverts commit d65485dd0e61dc3a21920e0132bb37b8da37720c.

This change is not sufficient as it exposes problem with kernel-based
gen_snapshot on Windows and results in Flutter test failures.
2017-12-20 22:55:27 -08:00