Commit Graph

10 Commits

Author SHA1 Message Date
Johnni Winther 204651f3ab Replace package:expect annotations with @pragma
Change-Id: Ib43d0d71a3ee8b0f0e6d676e6a3e448a107b7ca5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95180
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
2019-03-05 11:00:17 +00:00
Harry Terkelsen 3d31aa2ff7 dart2js: run dartfmt on tests
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2345083003 .
2016-09-16 15:49:23 -07:00
Stephen Adams 51b3b98bb9 Upgrade more confuse() functions
Verified generated code has no material changes.

TBR=floitsch@google.com

Review URL: https://codereview.chromium.org/1519563004 .
2015-12-10 12:49:20 -08:00
kasperl@google.com 5308056248 Fix hash code tests to be non-flaky.
R=ahe@google.com, kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23590 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 13:23:08 +00:00
kasperl@google.com fac3cca90f Fix test by correcting the smi range (assuming one tag bit and one sign bit).
TBR'ed.

R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23573 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 05:58:04 +00:00
floitsch@google.com 8fd6d0aafd Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
floitsch@google.com 5dc8107c53 Revert "Remove Expect from core library."
This reverts commit 19755.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 03:19:07 +00:00
floitsch@google.com 12dbd2fd70 Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 02:40:37 +00:00
sra@google.com 77b13f738a Fix dart2js hashCode implementations.
This fixes the following problems:
1. low 15 bits of string hash always zero.
2. [].hashCode crashes
3. hashCode of bool is not a SMI.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15216 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 19:08:13 +00:00
ngeoffray@google.com ddca63f78e Update get$hashCode to not use JS for most uses. Also fix issue 6522 where the hashCode of a String was always 0.
Review URL: https://codereview.chromium.org//11369181

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14785 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 13:10:11 +00:00