rmacnak@google.com
bcb8707fcd
Test reflecting on an object that implements Function but has no call method.
...
BUG=http://dartbug.com/13957
R=asiva@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//26777002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29374 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 17:25:47 +00:00
kustermann@google.com
94ebff2225
Bugfix in test.dart, adding of specialized test outcomes for analyzer
...
This CL will:
- fix a bug in the legacy AnalyzerCommandOutputImpl class (in certain cases
we did not report that the analyzer was missing a warning).
- make the outcome of running the analyzer on a test be one of:
* CompileTimeError
* MissingCompileTimeError
* StaticWarning
* MissingStaticWarning
- Make status file updates using the new Expectation markers
- Remove support for '@static-clean':
Previously running the analyer on a test could either result in
'Pass' or in 'Fail'. The '@static-clean' annotation has been used
as a (poor) mechanism to distinguish between errors and warnings.
Having the 4 markers mentioned above means we can remove '@static-clean'
- Remove 100 lines of rotted legacy code in our testing scripts.
- Make a status file entry for every test that has analyzer errors or warnings
R=ricow@google.com
Review URL: https://codereview.chromium.org//46163002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29350 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:39:38 +00:00
vsm@google.com
00b5e9ae1f
Fix uri_test status for win/dartium
...
TBR=whesse@google.com
BUG=14504
Review URL: https://codereview.chromium.org//47643002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29326 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-27 17:53:32 +00:00
rmacnak@google.com
28ff5031e9
Remove now-prohibited default values from optional parameters of redirecting constructors in mirror tests.
...
BUG=http://dartbug.com/14285
BUG=http://dartbug.com/14472
R=regis@google.com
Review URL: https://codereview.chromium.org//45993002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29300 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 23:21:25 +00:00
regis@google.com
e9b01ccf7b
Disallow explicit parameter default values in redirecting factory (issue 13662).
...
Add language test.
Fix usage in core lib.
R=hausner@google.com
Review URL: https://codereview.chromium.org//45833002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29298 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 23:02:48 +00:00
floitsch@google.com
ffccd42cae
Update status files.
...
Review URL: https://codereview.chromium.org//38563003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29285 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 20:47:52 +00:00
floitsch@google.com
6a72655d1b
Very simple version of Isolates.
...
R=ajohnsen@google.com , iposva@google.com , kasperl@google.com , lrn@google.com
Review URL: https://codereview.chromium.org//27215002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29271 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:23:00 +00:00
whesse@google.com
251e56f299
dart:platform | Remove isWindows, isLinux, isAndroid, isMacOS from dart:platform.
...
BUG=
R=iposva@google.com
Review URL: https://codereview.chromium.org//43773004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29268 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 18:25:56 +00:00
rmacnak@google.com
5963f11d75
dart2js: The name of a library without a library declaration is the empty string.
...
BUG=http://dartbug.com/10580
R=gbracha@google.com , johnniwinther@google.com
Review URL: https://codereview.chromium.org//26291005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29263 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 17:16:10 +00:00
rmacnak@google.com
8ee11af36f
Add LibraryMirror.declarations and ClassMirror.declarations to the API and both implementations.
...
Fix bug where partially unmangled names were used in constructor names.
Fix bug where type variables were considered static.
R=gbracha@google.com , johnniwinther@google.com
Review URL: https://codereview.chromium.org//36023003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29261 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 17:05:49 +00:00
scheglov@google.com
ab4a7a15d1
New analyzer_experimental snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//42863002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29260 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 16:55:54 +00:00
kmillikin@google.com
85f1190ebf
Mark lib/mirrors/hierarchy_invariants_test as slow on drt.
...
BUG=https://code.google.com/p/dart/issues/detail?id=14449
R=kustermann@google.com
Review URL: https://codereview.chromium.org//43653006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29257 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 15:58:21 +00:00
whesse@google.com
b276dc3749
dart:platform | Fix isolate_test on Dartium.
...
Change lib/platform/isolate_test to use package:expect instead of package:unittest, so spawnFunction will work on Dartium.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//44303002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29251 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 13:42:16 +00:00
zarah@google.com
32814d4233
Substitute types in instances of generic classes.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//39783003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29235 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 07:52:21 +00:00
rmacnak@google.com
ccfaa29881
Make type variables belong to the original declaration in VM.
...
BUG=http://dartbug.com/14240
R=gbracha@google.com , zarah@google.com
Review URL: https://codereview.chromium.org//35543007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29106 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 18:28:46 +00:00
floitsch@google.com
e00ecda482
Update status file.
...
Review URL: https://codereview.chromium.org//32193009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29071 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 11:14:46 +00:00
zra@google.com
d507fb5197
Updates status files for fixed ARM builder.
...
Review URL: https://codereview.chromium.org//36223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29046 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 23:19:38 +00:00
rmacnak@google.com
9ea114a17d
Mark mirrors/immutable_collections_test as still failing on Dartium.
...
Review URL: https://codereview.chromium.org//34503008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29044 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 22:20:28 +00:00
rmacnak@google.com
cfa80041e9
VM: Always return immutable collections from the mirrors.
...
Fix assert in partial demangling. Fix inappropriate compilation when handling parameters.
BUG=http://dartbug.com/14027
R=ahe@google.com , asiva@google.com
Review URL: https://codereview.chromium.org//34533003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29030 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:53:14 +00:00
zarah@google.com
c065deea46
Update lib.status.
...
Review URL: https://codereview.chromium.org//32673009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28995 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 11:39:47 +00:00
zarah@google.com
8dcc56c7d6
Update lib.status.
...
Review URL: https://codereview.chromium.org//34933003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28994 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 11:05:34 +00:00
zarah@google.com
6da04e04e2
Support reflection on recursive upper bounds of type variables.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//27064004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28991 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 10:20:16 +00:00
rmacnak@google.com
bd284f7262
Generic typedefs and their referents.
...
BUG=http://dartbug.com/12282
R=regis@google.com
Review URL: https://codereview.chromium.org//27728004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28972 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 00:00:08 +00:00
kustermann@google.com
d71c26f94d
Status file update for ARM
...
TBR=zra@google.com
Review URL: https://codereview.chromium.org//32703005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28955 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 21:47:55 +00:00
rmacnak@google.com
a5fd049d73
Hide MirroredCompilationErrror behind a flag until post-1.0. Remove VM reference to MirroredUncaughtExceptionError.
...
R=asiva@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//28053005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28946 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 20:12:49 +00:00
brianwilkerson@google.com
d5b1b38557
Fix issue 13664
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//33183003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28941 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 19:13:03 +00:00
rmacnak@google.com
addba00bd7
Fix VM crash when ClosureMirror.findInContext operates on a fake function.
...
R=asiva@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//29413003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28937 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 17:10:21 +00:00
rmacnak@google.com
d5931765f3
Add test for type variable ownership.
...
R=gbracha@google.com , zarah@google.com
Review URL: https://codereview.chromium.org//29823003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28936 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 16:56:13 +00:00
rmacnak@google.com
0d23dbc1e2
Make TypedefMirror a direct descendant of TypeMirror.
...
BUG=http://dartbug.com/11616
R=ahe@google.com , asiva@google.com
Review URL: https://codereview.chromium.org//24005002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28862 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 16:59:55 +00:00
scheglov@google.com
581b368515
New analyzer_experimental snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//27278004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28831 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 22:14:19 +00:00
rmacnak@google.com
c64d749f49
Remove conflict between type parameter and method/field from typevariable_mirror_metadata_test. Remove irregularity in metadata lookup naming that dealt with allow their co-existence.
...
BUG=http://dartbug.com/13327
BUG=http://dartbug.com/14016
Review URL: https://codereview.chromium.org//27525007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28815 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 18:49:27 +00:00
hausner@google.com
0e099ff048
Check that class member names do not conflict with type parameters
...
Implement check that member names do not conflict with type
parameters. Simplify name checks in class namespace.
Mark typevariable_mirror_metadata_test as failing now that we
report the proper compile time errors. (The test expects no errors.)
Some co19 tests expect a name conflict between a setter X= and type
parameter X. This is still in flux from a language perspective. This
change list does not introduce an compile error for this case.
Fix for issue 13701.
R=srdjan@google.com
Review URL: https://codereview.chromium.org//27619002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28808 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 17:39:08 +00:00
kustermann@google.com
5de78ae149
Remove status file entries referring to non-existent tests
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//26352003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28795 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 10:03:14 +00:00
floitsch@google.com
af06e8ba5a
Fix scheduleImmediate in Dartium.
...
BUG= http://dartbug.com/14146
R=blois@google.com
Review URL: https://codereview.chromium.org//27543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28792 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 08:59:32 +00:00
rmacnak@google.com
58c1759454
Generic instantiations of mixins and interfaces. Equality of type parameters.
...
BUG=http://dartbug.com/14113
BUG=http://dartbug.com/14114
R=regis@google.com
Review URL: https://codereview.chromium.org//27610002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28768 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 00:16:34 +00:00
rmacnak@google.com
c7211b51c4
Re-enable constructor kinds test on Mac Dartium following fix to initializion of the redirection bit in r28736.
...
BUG=http://dartbug.com/13999
R=asiva@google.com
Review URL: https://codereview.chromium.org//27168006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28761 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 23:18:09 +00:00
blois@google.com
c1996cc17f
Updating microtask test status
...
I believe that https://codereview.chromium.org/27565003 had a typo (does not include DRT).
BUG=
Review URL: https://codereview.chromium.org//27565003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28748 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 20:42:14 +00:00
rmacnak@google.com
de9bfaa347
Update mirror tests to new mixin application syntax.
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//27369003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28742 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 18:22:12 +00:00
ajohnsen@google.com
4bd615fa32
Fix status-file for schedule_microtask_test on dart2js-drt.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//27546002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28738 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 17:41:25 +00:00
kustermann@google.com
962511d688
Skip zoned tests on dartium/drt
...
Review URL: https://codereview.chromium.org//27197008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28728 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 15:53:49 +00:00
lrn@google.com
a2e03e5463
Fix flaky stream_controller_async_test.
...
BUG= http://dartbug.com/163608
R=floitsch@google.com
Review URL: https://codereview.chromium.org//27499002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28719 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 11:29:13 +00:00
ajohnsen@google.com
762ac7f511
Add support for micro-tasks in Dartium.
...
We are using the MutationObserver to schedule immediate events.
BUG=
R=blois@google.com , floitsch@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//25722010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28715 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 09:16:22 +00:00
rmacnak@google.com
15bc17777f
Add mirror tests for generic interfaces. Add base-language test for malbounded interfaces.
...
B=http://dartbug.com/14118
R=gbracha@google.com , regis@google.com
Review URL: https://codereview.chromium.org//27378002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28703 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 01:06:56 +00:00
rmacnak@google.com
e8d030b338
Do not hide membership of implementation classes in dart:core.
...
BUG=http://dartbuc.com/12141
R=ahe@google.com , asiva@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//27226003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28695 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:15:10 +00:00
rmacnak@google.com
06e159f087
Add mirror tests for f-bounded mixin applications and generic mixins (not to be confused with mixin applications).
...
R=ahe@google.com , gbracha@google.com , regis@google.com
Review URL: https://codereview.chromium.org//26768005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28664 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 17:22:48 +00:00
rmacnak@google.com
259c83c8d5
Add test for ClassMirror.mixin. Rename the mixin application test.
...
R=ahe@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//27275002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28660 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:55:46 +00:00
rmacnak@google.com
9662a9ab58
Give dart2js partial coverage from the initializing formals test. (Mostly their types.)
...
BUG=http://dartbug.com/11281
R=ahe@google.com
Review URL: https://codereview.chromium.org//27225003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28656 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:40:31 +00:00
ajohnsen@google.com
732ab1ce4d
Add factory-method for scheduleMicrotask, as well as a (failing) test.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//26993002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28653 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:22:04 +00:00
rmacnak@google.com
d278f9f3c4
New mirror tests: basic types found in dart:core and member collections are immutable.
...
R=ahe@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//27069003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28591 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 17:07:32 +00:00
floitsch@google.com
0f7a0bd7b1
Rename runAsync to scheduleMicrotask.
...
R=lrn@google.com
Review URL: https://codereview.chromium.org//26151002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28569 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 15:52:17 +00:00