Commit Graph

6 Commits

Author SHA1 Message Date
kasperl@google.com 8bd4bf096b Update almost all tests (except co19) to use the new try-catch syntax.
R=ngeoffray@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10891020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11492 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 08:11:41 +00:00
ager@google.com 72b997b522 Reapply change to update dart2js operator equals semantics to follow the latest spec.
Changes since the version that was reverted are in patch set 2:

1. Fix one remaining dart2js test that relied on the old operator== behavior.

2. Fix type intersection operation to actually take null into account. Because of bounded types they should always use canBeNull.

R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10692087

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9396 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 11:29:47 +00:00
ager@google.com 8bca3e8dcb Revert all the changes to equals operator. Causing buildbot trouble.
R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10698079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9357 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 15:39:14 +00:00
ager@google.com 91704fb99d Fix VM tests by removing test that was not enabled before my commit in any case.
I enabled the test and updated it with the new equality semantics that the
VM does not implement yet. I don't think the test adds much value.

R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10699074

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9350 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 13:47:40 +00:00
ager@google.com 6d5bb70430 Change dart2js to follow the new spec on the equality operator.
'null' is only equals to 'null' and nothing else. The user-defined
operator== is never called with null.

This also means that a 'a == null' and 'null == a' can always be
treated as a builtin when compiling to javascript.

Update the test expectations for co19. I will file co19 bugs about
updating the tests.

R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10697068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9348 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 13:38:25 +00:00
sigmund@google.com 45efebba9a test rename overhaul: step 10 - crypto tests, and add back other tests commited
recently, but just before the rename overhaul.

Review URL: https://chromiumcodereview.appspot.com//10229002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7115 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:12:28 +00:00