Commit Graph

533 Commits

Author SHA1 Message Date
Erik Corry 3f299c18ca Small cleanup of dart2js status files on Dart2 tests
R=whesse@google.com

Change-Id: I91163f895723ba0c5c79b6e75bd1c5eb4566ac61
Reviewed-on: https://dart-review.googlesource.com/40000
Reviewed-by: William Hesse <whesse@google.com>
2018-02-09 01:02:36 +00:00
Alexander Markov 307177ff9c [Gardening] Update status after changing test
This is a follow-up for
https://github.com/dart-lang/sdk/commit/236aef873a3e5d2a00403207ab26b3829c86e47f

Change-Id: Ie480a96b51deb7aaa91318990199d70edf13adf0
Reviewed-on: https://dart-review.googlesource.com/40100
Reviewed-by: Zach Anderson <zra@google.com>
2018-02-08 21:03:18 +00:00
Mike Fairhurst 56d59dd967 Reland https://dart-review.googlesource.com/c/sdk/+/37441 with fixes
Change-Id: If8e2ec2ca1ac4f533dcb56b0c95d55e4a13e0598
Reviewed-on: https://dart-review.googlesource.com/39881
Reviewed-by: Paul Berry <paulberry@google.com>
2018-02-08 20:46:19 +00:00
Alexander Markov 236aef873a Update test corelib_2/iterable_to_list_test for Dart 2 type inference
According to Leaf, Dart 2 type inference prefers to infer type
which is asked for, even if a more specific type can be inferred
from arguments.

It means that for

  testIterable({"x": 1, "y": 1}.keys, ["x", "y"]);

where

  testIterable(Iterable iterable, List expected, [int depth = 0])

the inferred type of map is Map<String, int>, but inferred type
of list is List (as testIterable argument type is List).

So this test is fixed by specifying type arguments of 'expected'
lists explicitly.

Change-Id: I2deab160038ee7abaad587920cb8fc620e09ebdf
Reviewed-on: https://dart-review.googlesource.com/39441
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-02-08 17:19:12 +00:00
Johnni Winther df4453bbb4 Update dart2js_with_kernel status
Change-Id: I08b8cf15ffb034958729b5c07561e9eec98aba0f
Reviewed-on: https://dart-review.googlesource.com/39961
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2018-02-08 10:51:37 +00:00
Stephen Adams 027aea0657 Fix dart2js kernel corelib_2 status
TBR=sigmund@google.com

Change-Id: I144d0cbbd5080fe20dc566793d95a03eb3bbfbe5
Reviewed-on: https://dart-review.googlesource.com/39900
Reviewed-by: Stephen Adams <sra@google.com>
2018-02-08 03:58:16 +00:00
Emily Fortuna ef3c271542 Generate signature function in strong mode (previously was behind a flag).
Change-Id: Ia99623beb4f5cbba719833af2d710702d2caaa6d
Reviewed-on: https://dart-review.googlesource.com/38902
Commit-Queue: Emily Fortuna <efortuna@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2018-02-07 23:02:40 +00:00
Mike Fairhurst ec58f5646a Revert "Make void a static warning to use almost everywhere."
This reverts commit 09eed74a8a.

Reason for revert: Too much SDK code is not yet compliant.

Original change's description:
> Make `void` a static warning to use almost everywhere.
> 
> Changed the hint to a StaticWarningCode, since that's the new spec'd
> error type and the hint is no longer needed.
> 
> Added a new set of methods to test the cases.
> 
> Didn't try to solve the problem generally ("all usages except ... are
> errors" means it easier, in theory, to make a ReportVoidExpressions
> style visitor that catches absolutely all types) because most of the
> work is actually about suppressing errors that are no longer needed.
> Ie, from NO_SUCH_METHOD to USAGE_OF_VOID_RESULT which means we have to
> put the void handling logic into each AST method specially anyway.
> 
> Some redundant tests removed.
> 
> Don't flag: ternaries, void -> void assignments, void returns in
> dynamic.
> 
> Change-Id: Ief8035dcfe582b36b6372180ddcf4e453d320d9c
> Reviewed-on: https://dart-review.googlesource.com/37441
> Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
> Reviewed-by: Leaf Petersen <leafp@google.com>

TBR=leafp@google.com,scheglov@google.com,mfairhurst@google.com

Change-Id: I13ee4c6939468d35506779ade637a040833632f4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/39848
Reviewed-by: Mike Fairhurst <mfairhurst@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
2018-02-07 22:32:51 +00:00
Mike Fairhurst 09eed74a8a Make void a static warning to use almost everywhere.
Changed the hint to a StaticWarningCode, since that's the new spec'd
error type and the hint is no longer needed.

Added a new set of methods to test the cases.

Didn't try to solve the problem generally ("all usages except ... are
errors" means it easier, in theory, to make a ReportVoidExpressions
style visitor that catches absolutely all types) because most of the
work is actually about suppressing errors that are no longer needed.
Ie, from NO_SUCH_METHOD to USAGE_OF_VOID_RESULT which means we have to
put the void handling logic into each AST method specially anyway.

Some redundant tests removed.

Don't flag: ternaries, void -> void assignments, void returns in
dynamic.

Change-Id: Ief8035dcfe582b36b6372180ddcf4e453d320d9c
Reviewed-on: https://dart-review.googlesource.com/37441
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-02-07 21:36:01 +00:00
William Hesse 2f9caa23c7 Update status for dart2js-with-kernel
Bug: https://github.com/dart-lang/sdk/issues/32078
Change-Id: If167667e16db1dd200aed649ac43071404d4feb9
TBR=johnniwinther@google.com
Reviewed-on: https://dart-review.googlesource.com/39780
Reviewed-by: William Hesse <whesse@google.com>
2018-02-07 16:03:35 +00:00
Peter von der Ahé 8815bbe90e Update status files for $compiler == fasta
Change-Id: I09761d12b98864d9a9abcc7abe6f046e45951715
Reviewed-on: https://dart-review.googlesource.com/36642
Commit-Queue: Peter von der Ahé <ahe@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2018-02-07 15:38:09 +00:00
Leaf Petersen 7fbaf476ba Status file fix for dart2js_d8_release_x64_strong
Change-Id: Icd457913f8cf9c78b618da7c7d728b4e56d7fe1d
Reviewed-on: https://dart-review.googlesource.com/39520
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-02-07 08:07:47 +00:00
Lasse R.H. Nielsen 6f78471687 New methods on Iterable, List, Set, Queue, Map.
Changes signature of Iterable.singleWhere.
Makes LinkedHashMap no longer be a HashMap.

Change-Id: I7a12fea533d42b0fc8357086649df38ad01f3cdd
Reviewed-on: https://dart-review.googlesource.com/39140
Commit-Queue: Leaf Petersen <leafp@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-02-07 06:12:53 +00:00
William Hesse 9c35cff5cd Revert "New methods on Iterable, List, Set, Queue, Map."
This reverts commit 0b59f24f97.

Reason for revert: Creates crashes in dart2js with kernel, see
https://luci-milo.appspot.com/buildbot/client.dart/dart2js-linux-d8-minified-1-5-be/9751

Original change's description:
> New methods on Iterable, List, Set, Queue, Map.
> Changes signature of Iterable.singleWhere.
> Makes LinkedHashMap no longer be a HashMap.
> 
> Change-Id: Ibd7e56e1ac03cb9fb10d19d1328d452fcd06d89f
> Reviewed-on: https://dart-review.googlesource.com/32541
> Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
> Reviewed-by: Leaf Petersen <leafp@google.com>

TBR=lrn@google.com,leafp@google.com

Change-Id: Iab904f5885a5213ae2e16ef496eed0b6843185f3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/39060
Reviewed-by: William Hesse <whesse@google.com>
2018-02-06 13:32:19 +00:00
Lasse R.H. Nielsen 0b59f24f97 New methods on Iterable, List, Set, Queue, Map.
Changes signature of Iterable.singleWhere.
Makes LinkedHashMap no longer be a HashMap.

Change-Id: Ibd7e56e1ac03cb9fb10d19d1328d452fcd06d89f
Reviewed-on: https://dart-review.googlesource.com/32541
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-02-06 11:17:46 +00:00
Sigmund Cherem 5428a12b84 Ensure that env includes the actual mixin application fields and procedures.
From the docs of mixedInClass and mixin: the former is the direct thing that is
mixed in, but if it is a named mixin application it may not contain the actual
fields and procedures, instead the `.mixin` class does.

Change-Id: I049ced771925431d613b0b661154c1761fbe0a51
Reviewed-on: https://dart-review.googlesource.com/38161
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Emily Fortuna <efortuna@google.com>
2018-02-02 07:10:30 +00:00
Lasse Reichstein Holst Nielsen 0c18b643c6 Add RegExp.escape methods.
Fixes 4706

Bug: http://dartbug.com/4706
Change-Id: If635cb0eb7c20405ab0127a443fe51176191b5ad
Reviewed-on: https://dart-review.googlesource.com/35641
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2018-02-01 09:56:47 +00:00
Brian Wilkerson 1d9ac49dd9 Reland "Add an error when an integer literal is out of bounds"
Change-Id: Id6ef76b47bedabc96fc372f6aea455975dfcc213
Reviewed-on: https://dart-review.googlesource.com/37840
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-01-31 16:50:55 +00:00
William Hesse a4dd9d0a87 Update status for test on dart2js-with-kernel
R=erikcorry@google.com
BUG=32010

Change-Id: Ie615eb2975774027f0f606659d2d6704cf9341a6
Reviewed-on: https://dart-review.googlesource.com/37821
Reviewed-by: William Hesse <whesse@google.com>
2018-01-31 15:24:04 +00:00
Erik Corry e4ebb436c4 Disable list_replace_range_test that fails on dart2js+kernel
R=johnniwinther@google.com
BUG=32010

Change-Id: I325b0fd5d37bc9d15f5a9773f1acc3f7077556bd
Reviewed-on: https://dart-review.googlesource.com/37780
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2018-01-31 11:17:15 +00:00
Erik Corry d69b81d2e0 Fix test that expects too much from type inference
R=paulberry@google.com

Change-Id: I7a811b690fe06c3295363e7fccfbafb325a8c9b3
Reviewed-on: https://dart-review.googlesource.com/37740
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-31 09:06:31 +00:00
Erik Corry 04d3b1b382 Fix wrong test corelib_2/json_map_test
R=floitsch@google.com

Change-Id: Ie444d91870e4bf043207f05db3950223ce1fcba2
Reviewed-on: https://dart-review.googlesource.com/37620
Commit-Queue: Erik Corry <erikcorry@google.com>
Reviewed-by: Florian Loitsch <floitsch@google.com>
2018-01-31 07:29:24 +00:00
Johnni Winther edf17c8ebf Mark pcre_test as slow
Change-Id: I8f8587ebedd3c0e7120add03daa2b34723dd7f4e
Reviewed-on: https://dart-review.googlesource.com/37240
Reviewed-by: Erik Corry <erikcorry@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-29 09:35:42 +00:00
Alexander Markov 4334c97dcb [Tests] Fix corelib_2/iterable_fold_test and iterable_reduce_test
* Change 'var iterable' to dynamic as type inference can only
  infer Object type.

* Explicitly set result type of closures passed to reduce() to
  make closure type compatible with parameter type expected by reduce().

* To modify List of Lists of int, add '[4]' instead of '4' to trigger
  expected ConcurrentModificationError instead of type error.

* Remove splitting to multi-test.

* Format with dartfmt.

Change-Id: Ie1a35eececbf1133cb2384afad10e9d355016abe
Reviewed-on: https://dart-review.googlesource.com/36300
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-01-26 17:43:33 +00:00
Sigmund Cherem 7f72ad6c18 Fix again
We are still running _2 suites on the legacy compiler, so I incorrectly removed
entries in the previous "fix".

TBR=johnniwinther@google.com

Change-Id: Ie251393e53d35c2eb2f7a5bd301e3cb837fce8a5
Reviewed-on: https://dart-review.googlesource.com/36482
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-23 18:32:18 +00:00
Sigmund Cherem 729ebbe043 Fix status files some more
The _2.status files are not normalized properly, so our script missed this.

We need to follow up with some additional fixes to the .status files and to add
to our script a way to detect these issues (typically whenever we have a "Pass"
and can't find the line that said otherwise).

TBR=johnniwinther@google.com

Change-Id: Icd4a6c003df86c0bf5c0894e971be13bc927f4ba
Reviewed-on: https://dart-review.googlesource.com/36480
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-23 17:06:36 +00:00
Sigmund Cherem 444f65315e Pass --strong to dart2js when running in strong mode
Change-Id: I6ddf9e51547e2c7163c82e4433ce3f0fb527173a
Reviewed-on: https://dart-review.googlesource.com/36382
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2018-01-23 08:23:26 +00:00
Alexander Markov fc27a2c9d4 [vm/corelib] Fix int/double comparisons in num.compareTo
* double.compareTo(int) is fixed to handle integers which are not
  precisely representable as doubles.

* int.compareTo(double) is fixed to properly handle doubles which
  are clamped when converted to integers (with Dart 2.0 fixed-size
  integers).

* Test for num.compareTo is updated for fixed-size integers; more corner
  cases added.

Closes https://github.com/dart-lang/sdk/issues/31917

Change-Id: I8e98c3627f032082ab6a397713dece436585afd1
Reviewed-on: https://dart-review.googlesource.com/35004
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
2018-01-22 18:22:28 +00:00
Erik Corry 3c2f9ea88d More SkipByDesign for tests that were moved
R=vegorov@google.com

Change-Id: I9d89ce90428d70ceb48e7eb2b16eb63f0aff8734
Reviewed-on: https://dart-review.googlesource.com/35721
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-19 09:11:45 +00:00
Erik Corry 0d1c495024 Add explanations to some status lines
R=kmillikin@google.com

Change-Id: I488148246cca0808e0aa1e6f1648273ca0b0a4ef
Reviewed-on: https://dart-review.googlesource.com/35720
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-18 15:48:24 +00:00
Erik Corry c8ae9bf77b [VM] Stop treating 0x180e as whitespace
This aligns us with JS engines and Unicode 6.3

R=lrn@google.com

Bug: 29060
Change-Id: I0b6356f0e652f7c9841bcf6485aa591a3d835061
Reviewed-on: https://dart-review.googlesource.com/35560
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-18 10:37:15 +00:00
Stephen Adams 8a7c3331df dart2js: Make String.split return List<String>
Two follow-on optimization would reduce the generated code to closer to the original size:

- It would be profitable to write an optimization the removes the type
  information from any list when it can be proven the type information
  is not used.

- Provided the split result list is not modified, we can strengthen
  accesses to be non-null Strings.

Bug: https://github.com/dart-lang/sdk/issues/30548
Change-Id: I87ecdd129ec0227f982bd2e1f34193b3d6b0d81b
Reviewed-on: https://dart-review.googlesource.com/35081
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-18 02:02:24 +00:00
Alexander Markov 7bd5093f83 [corelib] Fix type argument of Iterable from EmptyIterable.map
Change-Id: Ifee26537d05848e4ea6d354f5d57e0f14574d050
Reviewed-on: https://dart-review.googlesource.com/35460
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2018-01-17 22:31:18 +00:00
Erik Corry 2c951120a9 Precompiler without new front end does not supprt Dart2
R=vegorov@google.com
TBR=vegorov@google.com

Change-Id: If8a1ce64f5628c049be0d334fbd28df670777cf4
Reviewed-on: https://dart-review.googlesource.com/35440
Reviewed-by: Erik Corry <erikcorry@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-17 22:12:08 +00:00
Alexander Markov 2e5264ddea [vm/corelib] Fix int.toRadixString() for MIN_INT64
Closes https://github.com/dart-lang/sdk/issues/31346

Change-Id: Ib925bdacf6503262a3bfb39be032a9607c0420da
Reviewed-on: https://dart-review.googlesource.com/35063
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
2018-01-17 21:50:08 +00:00
Erik Corry 01e5fcd315 Reactivate 90% of string_split_test on dart2js
R=sra@google.com

Change-Id: Ibc88048063899c0ff3eb5be9c3644b5e717d5594
Reviewed-on: https://dart-review.googlesource.com/35282
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-17 21:03:07 +00:00
Erik Corry ac3fafed96 Don't try to run Dart2 tests on the app_jit
R=vegorov@google.com
TBR=vegorov@google.com

Change-Id: Idc7ce57438798fe03b64827bb97e3aa88343a850
Reviewed-on: https://dart-review.googlesource.com/35283
Reviewed-by: Erik Corry <erikcorry@google.com>
2018-01-17 15:56:22 +00:00
Erik Corry b2f8b5481d Update two string tests in strong mode
R=vegorov@google.com

Change-Id: I07edf1dbf6d49ff8283a52f655e8bef8c2e99b4d
Reviewed-on: https://dart-review.googlesource.com/34823
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-01-17 14:50:11 +00:00
Erik Corry 5ed2f25f40 There is no longer a safarimobilesim test runtime.
And so there is no need to maintain status files for this platform.

R=whesse@google.com

Change-Id: Ie70e4b7308cfd9b1b179b2d1eeeb8f36dd1a62dc
Reviewed-on: https://dart-review.googlesource.com/34824
Commit-Queue: Erik Corry <erikcorry@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2018-01-17 13:13:17 +00:00
Erik Corry 0f70f94992 Don't run dart2 tests without common front end
The bare VM without the common front end (kernel) does not support Dart2
semantics, which are assumed in the corelib_2 and language_2 directories. For
now we still run the bare VM in checked mode on these tests, since that is
mostly compatible, and gives us better coverage.

R=vegorov@google.com

Change-Id: I1a1ca939d8a33503d19b683b0e5539e0fa6e9dc1
Reviewed-on: https://dart-review.googlesource.com/35160
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Erik Corry <erikcorry@google.com>
2018-01-17 09:37:17 +00:00
Sigmund Cherem 614ff2a4d7 Fix .status file for tests in strong mode
I forgot to update these two suites :(

TBR=het@google.com

Change-Id: Ia5c98ee4338e6e52ca997b581e0511042fe1b71c
Reviewed-on: https://dart-review.googlesource.com/35062
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-17 01:12:18 +00:00
Leaf Petersen 6b3576f673 Fix fuzzy arrow issues in tests.
Also fixes a variety of miscellaneous accidental strong mode compile time or runtime check violations.

Change-Id: Ia8a41ac291aff3689efae0b11a9c51a2db30ef33
Reviewed-on: https://dart-review.googlesource.com/34924
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-01-16 23:08:01 +00:00
Sigmund Cherem 0c04eb53c7 Disable int64 when running dart2js
The goal is to renable it as soon as we migrate our constant-evaluator and
constant folding to use Bigint.

Change-Id: I3bba1bbe07517e9cb496896b3417f58173878d62
Reviewed-on: https://dart-review.googlesource.com/34302
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2018-01-16 19:52:22 +00:00
Lasse R.H. Nielsen 6178cc17ed Change the static castTo methods to be named castFrom.
It's just a better name.

Bug:
Change-Id: I0bf42b53fb5041faa307d288ffe12fb4b1ac7068
Reviewed-on: https://dart-review.googlesource.com/34180
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-01-15 08:59:31 +00:00
Jenny Messerly 1ace9bfe00 enable corelib_2 tests for DDK on the bots
Change-Id: I97fb3f606545db64313a1c3e8d1b687d536ac589
Reviewed-on: https://dart-review.googlesource.com/34503
Reviewed-by: Vijay Menon <vsm@google.com>
2018-01-13 00:39:33 +00:00
Konstantin Shcheglov b7eb0241ee Push UnknownInferredType for implicitly types for-in variables.
This fixes a problem introduced in:
https://dart-review.googlesource.com/c/sdk/+/32861

R=brianwilkerson@google.com, paulberry@google.com

Bug:
Change-Id: I9c8637dd7671dbf409cabbe3a707e615b2e553a2
Reviewed-on: https://dart-review.googlesource.com/34223
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2018-01-11 20:56:59 +00:00
Vijay Menon 09621f6724 Try to handle int64 mode errors on literal handling
Bug:
Change-Id: I55fabb8eb359dbc91b4848d25109af9344484ee5
Reviewed-on: https://dart-review.googlesource.com/32121
Reviewed-by: Jenny Messerly <jmesserly@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
2018-01-10 22:45:59 +00:00
Sigmund Cherem 7139df0e38 Add strong sections to language_2 and corelib_2, and change to run dart2js in
strong mode for those two suites

Bug:
Change-Id: I5e7b07c9497afd9f9f65fd0de609d5587d3bd9f1
Reviewed-on: https://dart-review.googlesource.com/33120
Reviewed-by: Emily Fortuna <efortuna@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2018-01-08 21:08:05 +00:00
Konstantin Shcheglov bbd835f322 Improve for-in statement inference.
R=brianwilkerson@google.com, paulberry@google.com

Bug: https://github.com/dart-lang/sdk/issues/31638
Change-Id: Ie15486387a6b5955e42e9fe5fc00cdba4f2ba68a
     https://github.com/dart-lang/sdk/issues/31440
Reviewed-on: https://dart-review.googlesource.com/32861
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-01-07 18:57:11 +00:00
Brian Wilkerson c151dffb9f Update tests to have an expression rather than a function as the argument in an assert
Change-Id: Ie95b39400adc0acd0b5f2c58dd26d21bb1b8c081
Reviewed-on: https://dart-review.googlesource.com/32502
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-01-05 22:09:09 +00:00