Martin Kustermann
17ac151f44
[Gardening] Increase timeout on release-hotreload configuration as well (not just debug), skip streamed_conversion_json_utf8_decode in hot-reload-simdbc64
...
Change-Id: Ifde8ae03b0f4da57c9c2f7ea445c0626630bcbce
Reviewed-on: https://dart-review.googlesource.com/c/79026
Reviewed-by: Martin Kustermann <kustermann@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
Auto-Submit: Martin Kustermann <kustermann@google.com >
2018-10-10 12:14:16 +00:00
Dmitry Stefantsov
aa6fb2d3a4
[fasta] Report errors for bounds violations
...
Fixes #33308 .
Bug: http://dartbug.com/33308
Change-Id: Iae087928468ed6883c438db95644135dc7ef0a6a
Reviewed-on: https://dart-review.googlesource.com/c/57621
Reviewed-by: Aske Simon Christensen <askesc@google.com >
Reviewed-by: Samir Jindel <sjindel@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com >
2018-10-10 12:03:36 +00:00
Ryan Macnak
a8e0db1077
[gardening] Mark remaining ASAN failures.
...
Bug: https://github.com/dart-lang/sdk/issues/32187
Bug: https://github.com/dart-lang/sdk/issues/34724
Change-Id: I123549194670fa5471a187bfcc5e70fd97efc2ee
Reviewed-on: https://dart-review.googlesource.com/c/78706
Reviewed-by: Ben Konyi <bkonyi@google.com >
2018-10-09 17:31:28 +00:00
Daco Harkes
c1361963aa
Update status files for tests failing due to #34724 and #34724
...
Change-Id: I2b6d03bed48a1d867f95a4c5754d77c7558ae2c6
Reviewed-on: https://dart-review.googlesource.com/c/78780
Reviewed-by: Samir Jindel <sjindel@google.com >
Commit-Queue: Daco Harkes <dacoharkes@google.com >
2018-10-09 16:58:27 +00:00
Aske Simon Christensen
79e8b3d57f
Make importing two libraries with the same name a warning
...
Bug: https://github.com/dart-lang/sdk/issues/34612
Change-Id: I2697b56fb02d6bee8ea3bc2d06329100e287ae34
Reviewed-on: https://dart-review.googlesource.com/c/78242
Reviewed-by: Peter von der Ahé <ahe@google.com >
Commit-Queue: Aske Simon Christensen <askesc@google.com >
2018-10-09 06:56:13 +00:00
Alexander Markov
a97ddf8ce1
[vm/bytecode] Fix sporadic crashes when running with bytecode.
...
Several tests crashed sporadically as bytecode Code object was not
properly scanned by GC.
Change-Id: I4810c46552a9f1990f1304f7c502b3408df8ed88
Reviewed-on: https://dart-review.googlesource.com/c/78141
Commit-Queue: Alexander Markov <alexmarkov@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Auto-Submit: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Zach Anderson <zra@google.com >
2018-10-04 20:01:25 +00:00
Alexander Markov
097e716694
[vm/bytecode] Update test status
...
Change-Id: I99881b9136a62ffb9eff184347532c807096b488
Reviewed-on: https://dart-review.googlesource.com/c/77943
Commit-Queue: Alexander Markov <alexmarkov@google.com >
Commit-Queue: Zach Anderson <zra@google.com >
Auto-Submit: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Zach Anderson <zra@google.com >
2018-10-03 22:10:11 +00:00
Jens Johansen
570fd5a788
Error on re-export, export and import of libraries with same name.
...
Fixes #12916 .
Change-Id: Icef0f04f1575c8dad5f1cd23a9363f06fa2a2b35
Reviewed-on: https://dart-review.googlesource.com/74161
Commit-Queue: Jens Johansen <jensj@google.com >
Reviewed-by: Peter von der Ahé <ahe@google.com >
2018-09-25 09:09:21 +00:00
Alexander Markov
62d154f6a3
[vm/bytecode] Record null-initialized fields in bytecode
...
If a field is initialized with null (either explicitly or implicitly),
field store can be omitted in bytecode. In such case, bytecode should
still convey the information about this initialization to VM for
field guards to work correctly.
Change-Id: I1fd45b858c3c521b97fa5dbffe0e15b1ea75d92f
Reviewed-on: https://dart-review.googlesource.com/76060
Reviewed-by: Zach Anderson <zra@google.com >
Reviewed-by: Régis Crelier <regis@google.com >
2018-09-24 17:56:35 +00:00
Daniel Hillerström
7ad1e5da99
Perform substitution on type argument/parameter bounds.
...
Fixes regression #34528 . Introduces a new test to mitigate future
regressions.
Closes #34528 .
Change-Id: Iaf0a8f44db2a8b4a8151c391ddb8dff69910fe3a
Reviewed-on: https://dart-review.googlesource.com/75840
Commit-Queue: Daniel Hillerström <hillerstrom@google.com >
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
Reviewed-by: Erik Ernst <eernst@google.com >
2018-09-24 14:02:01 +00:00
Alexander Markov
654c4babc8
[vm/bytecode] Fix a couple of assertions when running with bytecode
...
Also, add more tests to dartkb bots.
Change-Id: I6fbcbe73d6b9065ec03e64bf150b4ebd742e4d28
Reviewed-on: https://dart-review.googlesource.com/75981
Commit-Queue: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Régis Crelier <regis@google.com >
2018-09-21 22:54:39 +00:00
Régis Crelier
0c60a52bb2
[VM bytecode] Triage failures in interpreted mode.
...
Change-Id: I7c896386ef38b5ea5aceab5b6090363a34e960e6
Reviewed-on: https://dart-review.googlesource.com/75794
Commit-Queue: Régis Crelier <regis@google.com >
Reviewed-by: Alexander Markov <alexmarkov@google.com >
2018-09-21 02:37:44 +00:00
Daniel Hillerström
0a5d7b866d
Update status files after de984e58.
...
The bleeding edge console revealed that status files for
dartk-checked-linux-release-x64 configuration needed to be updated.
Change-Id: I7015427f55436947aebd019212765c5f3937f846
Reviewed-on: https://dart-review.googlesource.com/75440
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
Commit-Queue: Daniel Hillerström <hillerstrom@google.com >
2018-09-19 07:36:36 +00:00
Daniel Hillerström
de984e58cb
Type checking for redirecting factories.
...
Implements static semantics for redirecting factories (c.f. §10.6.2 of
the specification). This CL does not include inference of actual type
arguments on redirectees, that is it does not handle the case where
type arguments have been omitted on the redirectee as in this
following example program:
class A<T> {
factory A() = B;
}
class B<T> implements A<T> {
B();
}
Closes https://github.com/dart-lang/sdk/issues/32988 .
Also resolves the second part of
https://github.com/dart-lang/sdk/issues/30579 .
Can possibly also close https://github.com/dart-lang/sdk/issues/11578 .
Change-Id: I5f1fb60510ba6cdc917321239819c1f817b5b85d
Reviewed-on: https://dart-review.googlesource.com/74580
Commit-Queue: Daniel Hillerström <hillerstrom@google.com >
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
2018-09-19 06:20:20 +00:00
Kevin Millikin
9bdf2489b5
Signal errors and warnings for invalid returns
...
Implement the feature spec for checking returns against inferred
function return types:
https://github.com/dart-lang/sdk/blob/master/docs/language/informal/invalid_returns.md
with the change that an invalid return without a subexpression is
a warning, not an error. This is because it is a warning in the
analyzer and it would be a breaking change to turn it into an
error.
The check for valid returns is moved to exactly where we handle
returns, rather than in ensureAssignable which is used as a
helper in a lot of places. A bug in type inference was fixed: we
would use `void` for the type of return without a subexpression
instead of `null`. To accommodate that we would use a
non-standard subtyping relation for returns. This could lead to
us inferring a return type of `void` in cases where we should
not.
Change-Id: Iee9ece9c722f47efa305f49490d3022d0bbb9f44
Reviewed-on: https://dart-review.googlesource.com/72403
Commit-Queue: Kevin Millikin <kmillikin@google.com >
Reviewed-by: Aske Simon Christensen <askesc@google.com >
2018-09-04 16:50:51 +00:00
Jens Johansen
015840d31f
Fasta: Wrong number of type parameters is an error
...
E.g. `new Map<String>` is now reported as an error.
Note that this does not add a check for whether correct types are given,
so e.g.
```
class Foo<X extends num> {}
main() {
new Foo<String>();
}
```
is not caught by this fix.
Fixes #32972 , #32281 .
Change-Id: I57513b5c13865a828890775c8e14f7433d00bdbe
Reviewed-on: https://dart-review.googlesource.com/72382
Commit-Queue: Jens Johansen <jensj@google.com >
Reviewed-by: Peter von der Ahé <ahe@google.com >
2018-09-04 10:10:32 +00:00
Jens Johansen
33704fa75f
Fasta: Instance field cannot be const
...
Fixes #32326 .
Change-Id: Idef32a842a68c5c9ee58caff7b6e731204f033b6
Reviewed-on: https://dart-review.googlesource.com/72041
Commit-Queue: Jens Johansen <jensj@google.com >
Reviewed-by: Peter von der Ahé <ahe@google.com >
2018-08-31 10:28:19 +00:00
Aske Simon Christensen
e482a28985
Fix precompiled status for this-in-initializer fix
...
Change-Id: I370f59a6c07caf771efbae2ded7f43086b83ca9e
Reviewed-on: https://dart-review.googlesource.com/69310
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
2018-08-10 14:45:37 +00:00
Aske Simon Christensen
f2766eb24e
Disallow references to this in field initializers.
...
Fixes https://github.com/dart-lang/sdk/issues/33858
Change-Id: I619de64353ac5131d949d8e3898617435e9f6dcc
Reviewed-on: https://dart-review.googlesource.com/68920
Commit-Queue: Aske Simon Christensen <askesc@google.com >
Reviewed-by: Jens Johansen <jensj@google.com >
2018-08-10 11:12:58 +00:00
Mike Fairhurst
5c9c90f7e1
Revert "Check void usage and invalid returns"
...
This reverts commit 11001793a2 .
Reason for revert: Doesn't allow void to void assignment. This is breaks a lot of packages.
Original change's description:
> Check void usage and invalid returns
>
> Closes https://github.com/dart-lang/sdk/issues/30470
>
> Change-Id: I2ed5b54c74e0bba2771036774bbe2197ce29109d
> Reviewed-on: https://dart-review.googlesource.com/65141
> Commit-Queue: Peter von der Ahé <ahe@google.com >
> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
TBR=ahe@google.com ,dmitryas@google.com
# Not skipping CQ checks because original CL landed > 1 day ago.
Change-Id: I78f479cf8b0824dd338ae43a5514f320fd112a3f
Reviewed-on: https://dart-review.googlesource.com/66040
Reviewed-by: Leaf Petersen <leafp@google.com >
Reviewed-by: Mike Fairhurst <mfairhurst@google.com >
Commit-Queue: Mike Fairhurst <mfairhurst@google.com >
2018-07-20 22:29:45 +00:00
Lasse R.H. Nielsen
b1eeacc30a
Remove usage of unittest package from a number of tests.
...
Add simplified unittest replacement to package:expect.
(It is used in multi-tests, so it needs to be in an accessible place without using ".." in its path).
Change-Id: I60aa212ed67ffbdda17ca18fce1cdff16237f4fe
Reviewed-on: https://dart-review.googlesource.com/65700
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Jenny Messerly <jmesserly@google.com >
2018-07-20 13:26:38 +00:00
Peter von der Ahé
11001793a2
Check void usage and invalid returns
...
Closes https://github.com/dart-lang/sdk/issues/30470
Change-Id: I2ed5b54c74e0bba2771036774bbe2197ce29109d
Reviewed-on: https://dart-review.googlesource.com/65141
Commit-Queue: Peter von der Ahé <ahe@google.com >
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
2018-07-18 10:18:52 +00:00
Peter von der Ahé
c6f525634f
Normalize status files
...
Change-Id: I2668ec23b5fe83623acefcf53110499ecf30dcb9
Reviewed-on: https://dart-review.googlesource.com/65502
Commit-Queue: Peter von der Ahé <ahe@google.com >
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
2018-07-18 09:54:33 +00:00
Zach Anderson
d0510501d2
[build] Add -a kbc for interpreter
...
This CL adds support to build.py and test.py for building/testing
a VM with the interpreter on x64, e.g.:
$ ./tools/gn.py -m release -a x64 --bytecode
$ ./tools/build.py -m release -a x64 --bytecode runtime
$ ./tools/test.py -m release -a x64 -r vm -c dartkb language_2
Change-Id: I956d23790636609d4a2e71129481fcbd7afef9a0
Reviewed-on: https://dart-review.googlesource.com/65206
Commit-Queue: Zach Anderson <zra@google.com >
Reviewed-by: Régis Crelier <regis@google.com >
Reviewed-by: Alexander Markov <alexmarkov@google.com >
2018-07-17 21:51:41 +00:00
Lasse R.H. Nielsen
76db06cc24
Fix assert in Future code to allow a Future<Future<int>>.
...
Fix the `lib_2/async/future_test` test which was otherwise failing everywhere.
Updated status files.
Change-Id: I4e277dd7d47692b92b3303bfdd7cfbde120a8f87
Reviewed-on: https://dart-review.googlesource.com/65080
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2018-07-16 11:27:36 +00:00
Alexander Markov
cd11ca1591
[gardening] Update status for flaky tests
...
Change-Id: I6fbf812c1c44c1e70e0de9007126501b5cccefb2
Reviewed-on: https://dart-review.googlesource.com/64645
Reviewed-by: Zach Anderson <zra@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2018-07-11 20:20:03 +00:00
Alexander Markov
e5d31282eb
[vm] Support Dart metadata on libraries and library dependencies in Dart 2 mode
...
Fixes https://github.com/dart-lang/sdk/issues/33774
Change-Id: I0b34cdf2bee099076e29bec6cfb849b0b250f690
Reviewed-on: https://dart-review.googlesource.com/64245
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2018-07-09 23:58:26 +00:00
Alexander Markov
620ab34de6
[vm] Implement reading of parameter annotations from kernel
...
Fixes https://github.com/dart-lang/sdk/issues/33207
Change-Id: I201d262bb913c342b705a607b0d88ba345e759e0
Reviewed-on: https://dart-review.googlesource.com/63644
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2018-07-03 23:23:06 +00:00
Jens Johansen
e2ce88dfcc
Add startFileOffset on procedures et al, enable VMs GetSource
...
Prior to this change we only had fileOffset which points to the name.
This CL adds a field - startFileOffset - that points to the start
(e.g. 'static', 'factory', the return type or any presiding annotation
(including '@')), as well as fixing `Function::GetSource` in the VM to
fix a crash when using mirrors to ask for the source of a function or
constructor.
The field is added to procedures, constructors and classes.
The latter changes the location of classes with annotations to be
the position of the annotation. This is on-par with --no-preview-dart-2.
The change in regards to procedures and constructors mean, that both
the location and the source (from .location and .source on a
MethodMirror) will change to include any annotations. This is a
different behavior than --no-preview-dart-2.
Closes #33271 .
Change-Id: I90f1232c5ec2d01e60e0bab070d44c37232b2730
Reviewed-on: https://dart-review.googlesource.com/60560
Commit-Queue: Jens Johansen <jensj@google.com >
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2018-06-21 13:10:04 +00:00
Alexander Markov
acd375cc77
[gardening] Silence flaky test which times out on simarm64 bot
...
Change-Id: I1561baba3653981f5227fcbe53428caaa18a5877
Reviewed-on: https://dart-review.googlesource.com/61112
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2018-06-19 23:21:38 +00:00
Alexander Markov
437b492042
[gardening] Update status for reload-kernel bots
...
Change-Id: Ic0b4e9917e43d673ce0781ec1873804011cb0252
Reviewed-on: https://dart-review.googlesource.com/61040
Reviewed-by: Zach Anderson <zra@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2018-06-19 19:02:46 +00:00
Alexander Markov
d23176dc40
[gardening] Skip flaky test lib_2/isolate/spawn_uri_nested_vm_test
...
Issue: https://github.com/dart-lang/sdk/issues/33385
Change-Id: If5bf03d61226baac8fe6a7a3e4642e3a69fe9e0d
Reviewed-on: https://dart-review.googlesource.com/59220
Reviewed-by: Zach Anderson <zra@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2018-06-07 21:47:35 +00:00
Alexander Aprelev
6fcc68bee3
Adjust test status.
...
Mark isolate/message4_test as Pass, Timeout.
Change-Id: I6103b35d874766030c8219dfde43890aafd382d2
Reviewed-on: https://dart-review.googlesource.com/58621
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Alexander Aprelev <aam@google.com >
2018-06-06 03:47:59 +00:00
Ryan Macnak
787a43ec78
[vm] Fix some missing private name mangling in the kernel reader.
...
Bug: https://github.com/dart-lang/sdk/issues/32345
Bug: https://github.com/dart-lang/sdk/issues/33326
Bug: https://github.com/dart-lang/sdk/issues/33345
Change-Id: I89fb8f0332ef6f9f40de59c219af2a7c23e5943f
Reviewed-on: https://dart-review.googlesource.com/58400
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Alexander Markov <alexmarkov@google.com >
2018-06-05 20:14:46 +00:00
Alexander Markov
6b71414296
[Test status] Update status of several triaged lib_2/mirrors tests
...
Change-Id: Ie90688ea7a9fd95a939c87b4c619213b74c904c1
Reviewed-on: https://dart-review.googlesource.com/58422
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2018-06-05 16:24:09 +00:00
Alexander Thomas
a9257d05fb
[vm] Prepare status files for dartk reload/rollback builders ( #33126 )
...
Change-Id: I954debb9f258eb94de227f6772ff08b53daba322
Reviewed-on: https://dart-review.googlesource.com/57623
Commit-Queue: Alexander Thomas <athom@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2018-06-04 11:30:21 +00:00
Martin Kustermann
9a193853d4
[VM] Mark a few tests as passing
...
They are passing since 315a186
Change-Id: Iee40f0c50160b87763fb031bb74d2499ef578807
Reviewed-on: https://dart-review.googlesource.com/58181
Reviewed-by: Martin Kustermann <kustermann@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
2018-06-04 08:50:32 +00:00
Lasse R.H. Nielsen
315a186dc4
Better test error handler argument types.
...
Change-Id: I460a40dc9db096f3ae95602ba9c8dc86b4576c56
Reviewed-on: https://dart-review.googlesource.com/53208
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Leaf Petersen <leafp@google.com >
2018-06-01 12:26:37 +00:00
Alexander Markov
1ca17b6d03
[vm/kernel] Recognize desugared mixin applications in dart:mirrors
...
Kernel mixin transformation desugars mixin applications into normal
classes. Mixed-in type is pulled into interfaces list.
However, dart:mirrors needs to know the original mixed-in type of
a mixin application.
This change solves this problem by propagating a 'isTransformedMixinApplication'
attribute of a class through kernel AST, kernel binary and VM objects
into dart:mirrors implementation.
Fixes: https://github.com/dart-lang/sdk/issues/33240
Change-Id: I98ca69294e1ad445402a5ca91d90c30447aabcb2
Reviewed-on: https://dart-review.googlesource.com/56721
Commit-Queue: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2018-05-29 18:12:26 +00:00
Alexander Thomas
2a3d1dc9ed
[vm] Prepare status for app_jitk builders ( #33126 )
...
Change-Id: Iec5347b5f091b9fd6ff3c24047b011527f8b08ee
Reviewed-on: https://dart-review.googlesource.com/56802
Commit-Queue: Alexander Thomas <athom@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2018-05-29 11:43:25 +00:00
Alexander Markov
4fb0c60938
[vm/kernel] Set active class when evaluating Dart annotations
...
Without active class, kernel reader is not able to finalize types
and fails to parse type literals.
Fixes https://github.com/dart-lang/sdk/issues/33173
Change-Id: Iefe7f33a371f3d4f892f21f8ea0060d70887186c
Reviewed-on: https://dart-review.googlesource.com/56242
Reviewed-by: Martin Kustermann <kustermann@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2018-05-23 16:17:55 +00:00
Kevin Millikin
7ff8adcec9
Fix an incorrect dart:mirrors test
...
The class defined by an anonymous mixin application is always
abstract. If it were not, then it would be a Dart 2 static error that
it does not provide implementations of any of the abstract members of
the mixed-in class. For example:
class S {}
abstract class M {
int f();
}
abstract class C extends S with M {}
The class defined by `S with M` must be abstract because it does not
provide an implementation of `f`.
Change-Id: I3a990d7db4c5cb3c2dc83f4f12e4fd1eba68f876
Reviewed-on: https://dart-review.googlesource.com/56107
Commit-Queue: Kevin Millikin <kmillikin@google.com >
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
2018-05-22 13:56:41 +00:00
Martin Kustermann
2dc8f3f0b0
[VM] Mark crashing test in status file
...
This test was removed from the status file in 87fb51fa8c (after
landing dd3ec65af )
Issue https://github.com/dart-lang/sdk/issues/33128
Change-Id: I77e4a4f303d6a248a87a9a9739e883d2a68fafc6
Reviewed-on: https://dart-review.googlesource.com/55241
Reviewed-by: Martin Kustermann <kustermann@google.com >
2018-05-15 15:54:47 +00:00
Ryan Macnak
87fb51fa8c
[test] Mark isolate_complex_messages_test as fixed in Dart 2.
...
Fixed by dd3ec65af8 .
Change-Id: Ia877330109b74b29fd5a52a755b2910511885de8
Reviewed-on: https://dart-review.googlesource.com/55024
Reviewed-by: Régis Crelier <regis@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2018-05-14 23:12:50 +00:00
Ryan Macnak
1e28b8987d
[vm] Reify even more generics in the mirrors implementation to appease Dart 2.
...
Bug: https://github.com/dart-lang/sdk/issues/33091
Bug: https://github.com/dart-lang/sdk/issues/33098
Change-Id: Ibecce1274b9bda47e387d109a29a5af4d53adb7f
Reviewed-on: https://dart-review.googlesource.com/54704
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Alexander Aprelev <aam@google.com >
2018-05-11 19:18:49 +00:00
Jenny Messerly
3002e47e36
cleanup language_2 and corelib_2 tests that import dart:mirrors
...
Preserves tests that didn't really need mirrors, and moves tests for
mirror functionality into lib_2/mirrors tests.
Change-Id: Ie16dee1a4b508e3f14da53499f57c5dae2d1e513
Reviewed-on: https://dart-review.googlesource.com/49624
Commit-Queue: Jenny Messerly <jmesserly@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Vijay Menon <vsm@google.com >
2018-05-07 23:50:56 +00:00
Ryan Macnak
2f458c4c48
[vm] Reify more generics in the mirrors implementation to appease Dart 2.
...
Bug: https://github.com/dart-lang/sdk/issues/32889
Change-Id: Ic115a2db257eb1a70a82e727890fef8695ec8bc2
Reviewed-on: https://dart-review.googlesource.com/53693
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2018-05-04 00:34:54 +00:00
Dmitry Stefantsov
5af05d407d
[fasta] Report type argument number mismatch during outline building
...
Change-Id: I1c1f22f3117ccbfc8620b3b0459bc96ed1ad1bdf
Reviewed-on: https://dart-review.googlesource.com/51128
Reviewed-by: Peter von der Ahé <ahe@google.com >
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com >
2018-04-30 13:01:15 +00:00
Aske Simon Christensen
2fb94418cd
Mark mirrors test crashing.
...
Bug: https://github.com/dart-lang/sdk/issues/32879
Change-Id: I66633e44d1a8a46aa54b6309b94603887fdfb16e
Reviewed-on: https://dart-review.googlesource.com/51130
Reviewed-by: Martin Kustermann <kustermann@google.com >
2018-04-13 16:55:00 +00:00
Aske Simon Christensen
51a2f96a71
Always call writeAnnotationList to write annotations.
...
This fixes an issue where an (illegal) annotation contained a
variable declaration, but the variable indexer was not set up.
Closes https://github.com/dart-lang/sdk/issues/32800
Change-Id: I50e828256e1ec0d14004aa38eaab2dce93ca7112
Reviewed-on: https://dart-review.googlesource.com/50942
Commit-Queue: Aske Simon Christensen <askesc@google.com >
Reviewed-by: Jens Johansen <jensj@google.com >
2018-04-13 12:41:17 +00:00