Commit Graph

1115 Commits

Author SHA1 Message Date
rmacnak@google.com 564fbb68dd Add proper API for creating private symbols wrt a library.
BUG=http://dartbug.com/13355
BUG=http://dartbug.com/12358
R=ahe@google.com, asiva@google.com, gbracha@google.com

Review URL: https://codereview.chromium.org//24631003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28551 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 20:56:14 +00:00
scheglov@google.com 037710054d Issue 13703. Report CONFLICTING_TYPE_VARIABLE_AND_CLASS and CONFLICTING_TYPE_VARIABLE_AND_MEMBER.
https://code.google.com/p/dart/issues/detail?id=13703

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//27055004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28541 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 19:17:04 +00:00
floitsch@google.com 3cdd1b2e72 Update status file with flaky stream_controller_async_test.
Review URL: https://codereview.chromium.org//26851006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28518 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 14:50:16 +00:00
kustermann@google.com b24a73c137 Remove unittest-based wrapping from our testing scripts
The unittest-based wrapping of tests is completely broken and will be removed
with this CL. ('none-drt' is the last configuration where we currently still do
unittest-based wrapping.)

BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//26162007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28501 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 09:01:17 +00:00
rmacnak@google.com 8a0d62f5f9 Substitution for type variables in mirrors on instantiated generics.
BUG=http://dartbug.com/12282
BUG=http://dartbug.com/13808
R=gbracha@google.com, regis@google.com

Review URL: https://codereview.chromium.org//26344006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28495 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 01:51:11 +00:00
rmacnak@google.com 2320d631c2 Mark constructor_kinds as failing on Mac Dartium.
Review URL: https://codereview.chromium.org//26273004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28494 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 01:31:38 +00:00
karlklose@google.com fe699a2139 Update dart2dart test expectations.
R=ricow@google.com

Review URL: https://codereview.chromium.org//26870002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28461 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 16:30:13 +00:00
ricow@google.com bebf082a9e Update crash suppression to include dartium timeout (for dartium)
R=kustermann@google.com

Review URL: https://codereview.chromium.org//26409004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28447 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 11:54:06 +00:00
rmacnak@google.com 281980cb4d Mark generic bounds tests as failing the analyzer as well.
Review URL: https://codereview.chromium.org//26420003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28437 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 00:54:36 +00:00
rmacnak@google.com 90772b13b8 Mirror tests for type bounds.
R=gbracha@google.com, regis@google.com

Review URL: https://codereview.chromium.org//26772002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28435 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 00:34:17 +00:00
rmacnak@google.com 6ed9f2c17f Implement constructor kinds in the VM mirrors.
BUG=http://dartbug.com/13798
R=asiva@google.com, hausner@google.com

Review URL: https://codereview.chromium.org//26436004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28416 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 20:40:11 +00:00
vsm@google.com 334fd6bf07 Mark spawnFunction tests as Fail on Dartium
See corresponding Dartium CL:
https://chromiumcodereview.appspot.com/26397003/

This disables spawnFunction on DOM enabled isolate (i.e., where
dart:html is available).  spawnFunction should continue to work on
non-DOM enabled isolated.  spawnUri should be unaffected.

R=asiva@google.com

Review URL: https://codereview.chromium.org//26616002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28406 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 16:25:28 +00:00
rmacnak@google.com 41f0d0e0f1 Correctly report the type of initializing formals declared without an explicit type to be the type of the corresponding field.
BUG=http://dartbug.com/11281
R=gbracha@google.com, hausner@google.com

Review URL: https://codereview.chromium.org//26346002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28349 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 01:08:59 +00:00
rmacnak@google.com 27d8969f33 Add test coverage for InstanceMirror.type in the face of a reflectee that overrides runtimeType.
R=gbracha@google.com, srdjan@google.com

Review URL: https://codereview.chromium.org//25996006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28311 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 16:38:43 +00:00
ricow@google.com 478e651c90 Mark lib/mirrors/delegate_test as failing in csp mode
Filed issue 13864 to track this

Review URL: https://codereview.chromium.org//26168004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28303 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 11:21:08 +00:00
kustermann@google.com ac254a8633 Status file update for builders runnig none-dartium tests
TBR=ricow@google.com

Review URL: https://codereview.chromium.org//26194002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28297 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-06 21:10:25 +00:00
scheglov@google.com 59fd8f58c8 New analyzer_experimental snapshot.
1. "catch (Exception e)" is translated into "on JavaException catch (e)".
2. Java exceptions now extend JavaException.
3. MemberMap moved into resolver, because it is not a generic collection and has references to elements.

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//26096002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28296 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-06 05:11:15 +00:00
rmacnak@google.com b297840078 Also mark new tests as failing on the full browser.
Review URL: https://codereview.chromium.org//26047002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28285 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 22:06:56 +00:00
rmacnak@google.com 4691c007bf More mirror tests: initializing formals and substituted types in instantiated generics.
BUG=
R=gbracha@google.com

Review URL: https://codereview.chromium.org//25945002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28271 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:41:51 +00:00
rmacnak@google.com b444bb86a9 Add missing test coverage for constructor kinds, generic function typedefs, generic mixin applications, delegate, type arguments are type variables.
BUG=
R=gbracha@google.com

Review URL: https://codereview.chromium.org//25609003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28270 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:32:21 +00:00
kustermann@google.com 2375d10c36 Mark two tests as flaky on none-dartium
TBR=ricow@google.com

Review URL: https://codereview.chromium.org//25724013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28267 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 16:41:59 +00:00
kustermann@google.com edacf33810 Status file update for none-dartium
R=kasperl@google.com

Review URL: https://codereview.chromium.org//25896005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28254 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 09:25:26 +00:00
scheglov@google.com f9a1508351 Symbol literal is constant.
R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//25939002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28249 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 22:21:53 +00:00
scheglov@google.com 8f245c156c Issue 13510. Fix for parsing symbol literal with built-in identifiers.
https://code.google.com/p/dart/issues/detail?id=13510

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//25940003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28247 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 22:17:21 +00:00
floitsch@google.com 33317348ae Skip unicode test on IE. Just too slow.
Review URL: https://codereview.chromium.org//25660013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28228 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 16:35:06 +00:00
floitsch@google.com c542047285 Update status file.
Review URL: https://codereview.chromium.org//25859003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28223 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 15:47:07 +00:00
floitsch@google.com 15f15c7c89 Mark utf85_test as slow on simarm.
Review URL: https://codereview.chromium.org//25683008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28220 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 13:31:34 +00:00
kustermann@google.com 22d20313b4 Implement testing support for "--compiler=none --runtime=dartium"
This is implemented without the broken unittest-based wrapping of tests.

R=kasperl@google.com

Review URL: https://codereview.chromium.org//25514002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28141 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 07:37:50 +00:00
rmacnak@google.com cd5ca9a0ec Rework redirection_type_shuffling_test to not require status override for analyzer.
R=brianwilkerson@google.com, regis@google.com

Review URL: https://codereview.chromium.org//25600002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28116 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 20:48:46 +00:00
rmacnak@google.com 82a61d437c Mark "failure" for analyzer on mirrors/redirection_type_shuffling. Multitest cannot express a situtation where something should fail in checked mode on the VM or dart2js but not in the analyzer.
TBR

Review URL: https://codereview.chromium.org//25479004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28113 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 19:46:42 +00:00
rmacnak@google.com ab2d2fc25b Make ClassMirror.newInstance deal with reordered etc type arguments for redirecting factories.
BUG=http://dartbug.com/11781
BUG=http://dartbug.com/13365
R=regis@google.com

Review URL: https://codereview.chromium.org//25097005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28106 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 18:23:24 +00:00
scheglov@google.com 61abfa0ca9 Support for --no-hints in analyzer_experimental.
I did one more snapshot to pick up your latest changes.
I have to extract ErrorCode variables because of type model difference in Java vs. Dart.

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//24669002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28016 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 16:54:38 +00:00
floitsch@google.com 4a28d50a70 Mark stream_controller_async_test as flaky.
Review URL: https://codereview.chromium.org//25030002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28005 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 11:59:43 +00:00
mlippautz@google.com 19763aae4d Implementation for ClosureMirror.findInContext.
Fixes issue 5897.

BUG=https://code.google.com/p/dart/issues/detail?id=5897
R=asiva@google.com, gbracha@google.com, rmacnak@google.com

Review URL: https://codereview.chromium.org//23633002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27982 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 01:28:12 +00:00
regis@google.com 42972d1e37 Fix test failure expectations and update status files.
R=hausner@google.com

Review URL: https://codereview.chromium.org//24789003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27976 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 22:19:02 +00:00
floitsch@google.com 997b6d7ad7 Mark stream_controller_async_test as flaky.
Review URL: https://codereview.chromium.org//24616004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27960 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 16:45:39 +00:00
kustermann@google.com 55e9dc75b4 test.py: Parse unittest-suite-{wait-for-done,success} messages in output of d8/jsshell/vm
R=ricow@google.com

Review URL: https://codereview.chromium.org//24573003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27953 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 14:06:01 +00:00
fschneider@google.com d055c16e0d Fix optimized Math.pow on x64 with NaN exponents.
The libc implementation used by the optimized code differs
from the expected behaviour. It does not return double.NaN
as the Dart implementation of pow when the exponent is NaN.

The test fails when running with  a low optimization-counter-threshold=5.

BUG=https://code.google.com/p/dart/issues/detail?id=13543
TEST=math/double_pow_test
R=srdjan@google.com

Review URL: https://codereview.chromium.org//24695003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27950 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 13:12:59 +00:00
ahe@google.com 94b894acb1 Implement InstanceMirror.invoke of methods with optional arguments.
BUG=http://dartbug.com/6490
R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//24745003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27947 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 12:45:17 +00:00
floitsch@google.com 146150ac51 Wait for the pause-event to have finished.
BUG= http://dartbug.com/13608
R=lrn@google.com

Review URL: https://codereview.chromium.org//24457003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27943 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 12:12:42 +00:00
ahe@google.com 1da4c79460 Fix a problem revealed by mirror_printer_test.
Also update analyzer status file.

R=kasperl@google.com

Review URL: https://codereview.chromium.org//24703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27937 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 10:38:32 +00:00
ahe@google.com c24b1b7e78 Implement named arguments in InstanceMirror.invoke.
BUG=http://dartbug.com/12863
R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//24493006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27936 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 09:08:03 +00:00
ricow@google.com 4eba8e5c88 Remove flaky markers for v8 bug - this has already been fixed by a v8 roll
R=kustermann@google.com

Review URL: https://codereview.chromium.org//24517002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27931 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 06:47:20 +00:00
rmacnak@google.com 753af9b01b Implement closurization of regular methods in ObjectMirror.getField in the VM.
BUG=http://dartbug.com/13001
BUG=http://dartbug.com/13002
R=asiva@google.com

Review URL: https://codereview.chromium.org//23441073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27916 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 21:42:13 +00:00
scheglov@google.com 7ce03ef926 New analyzer_experimental snapshot.
There are couple small changes in analyzer itself:

1. AnalysisCache.entrySet() to return Collection instead of Set - it is expensive to fill actual Set in Dart - hash code, equals, etc. We know there are no duplicates.

2. Matcher in TODO scrapper - there are no start(i) in Dart, I have to change implementation to translate it accurately.

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//24481002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27889 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 16:02:19 +00:00
kustermann@google.com dfbf264f40 Automatically converted general Fail status file markers to one of the more specific markers
R=johnniwinther@google.com, ricow@google.com

Review URL: https://codereview.chromium.org//23494066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27876 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 12:47:03 +00:00
kustermann@google.com 9e1ba8381e Status file update after adding new vm-linux-release-optcounter-threshold builder
TBR=ricow@google.com

Review URL: https://codereview.chromium.org//23710088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27815 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 12:19:10 +00:00
floitsch@google.com 35e2ed1e57 Expose Zones.
BUG= http://dartbug.com/11279
R=lrn@google.com

Review URL: https://codereview.chromium.org//23875032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27802 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 09:22:26 +00:00
ahe@google.com d384233357 Update mirror test status.
R=kustermann@google.com

Review URL: https://codereview.chromium.org//23882014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27781 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 17:19:00 +00:00
rmacnak@google.com e07f666db6 Mark tests with symbol literals as failing on the analyzer.
BUG=http://dartbug.com/13510

Review URL: https://codereview.chromium.org//23530073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27775 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 16:43:25 +00:00