Commit Graph

5559 Commits

Author SHA1 Message Date
tball@google.com 79f077a9cf Marked new type parameter literal test as failing, since it's not implemented
yet anywhere.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16532 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 00:14:45 +00:00
tball@google.com 18e748d0b3 Implemented class literals in the VM.
Review URL: https://codereview.chromium.org//11633054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16530 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-27 23:45:40 +00:00
johnniwinther@google.com 8872c24c58 Fix noSuchMethod internal name for getter/setter.
BUG=http://dartbug.com/7425

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16503 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-26 19:41:41 +00:00
antonm@google.com a5c41c385c Update expectations.
R=smok@google.com
BUG=7587

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16496 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-26 13:26:26 +00:00
regis@google.com d273efd45f Turn compile time errors related to missing getters and setters into invocation
of noSuchMethod or into throwing of NoSuchMethodError according to spec.
Return result of InvocationMirror.invokeOn to caller.
Fix various tests.
Review URL: https://codereview.chromium.org//11669015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16463 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-22 00:40:46 +00:00
meh@google.com 2c7dfbf982 Implement a native identical function in the VM.
Returns true if objects are the same instance.
Adds an identical closure test (disabled for dart2js pending https://chromiumcodereview.appspot.com/11612022/).

BUG=7378

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16461 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-22 00:12:35 +00:00
meh@google.com 2e1ecb18fe Revert "Implement a native identical function in the VM."
This reverts commit 88a0845aedeed15106dcfc8c658ebed37e7e85dd.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16460 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 23:58:48 +00:00
meh@google.com 225d9a724b Implement a native identical function in the VM.
Returns true if objects are the same instance.

BUG=7378

Committed: https://code.google.com/p/dart/source/detail?r=16453

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16456 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 22:42:21 +00:00
meh@google.com 51dc889ad7 Revert "Implement a native identical function in the VM."
This reverts commit 93e88749af841a1b381db6351a7196d35edd554e.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16454 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 21:22:43 +00:00
meh@google.com 5e068fec8f Implement a native identical function in the VM.
Returns true if objects are the same instance.

BUG=7378

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16453 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 20:34:42 +00:00
meh@google.com a1bb3a9e51 Revert "Implement a native identical function in the VM."
This reverts commit c876c29bf4caa810bfc03c8b8908588168d634fe.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16451 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 20:08:59 +00:00
meh@google.com 55596818ac Implement a native identical function in the VM.
Returns true if objects are the same instance.

BUG=7378

Committed: https://code.google.com/p/dart/source/detail?r=16400

Committed: https://code.google.com/p/dart/source/detail?r=16412

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16450 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 19:07:55 +00:00
ahe@google.com 24517f4e01 Make StringBuffer and interpolation behave the same.
Review URL: https://codereview.chromium.org//11618037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16437 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 11:24:35 +00:00
meh@google.com 38aa3e1dee Revert "Implement a native identical function in the VM."
This reverts commit 0f29c63d64de37beb5f1b927a492687fde6de58a.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16414 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 01:50:27 +00:00
meh@google.com 585e671819 Implement a native identical function in the VM.
Returns true if objects are the same instance.

BUG=7378

Committed: https://code.google.com/p/dart/source/detail?r=16400

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16412 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 01:14:32 +00:00
meh@google.com 5d390fdf6c Revert "Implement a native identical function in the VM."
This reverts commit b6265dc1f0711711bcd26413826155f338c49c6d.

Merge remote-tracking branch 'git-svn' into revert-identical

Revert "Implement a native identical function in the VM."

This reverts commit b6265dc1f0711711bcd26413826155f338c49c6d.

Merge remote-tracking branch 'git-svn' into identical

Merge remote-tracking branch 'git-svn' into identical

stage for submission

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16402 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 21:49:54 +00:00
meh@google.com d59b5937a6 Implement a native identical function in the VM.
Takes two objects and returns a boolean.
If the objects are SMIs, then returns true if the values are identical.
If the objects are not SMIs, then returns true if the references are identical.

BUG=7378

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16400 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 21:35:38 +00:00
scheglov@google.com 642b8dfd3c Issue 3223. Don't report warning when call variable with not-function inferred type.
http://code.google.com/p/dart/issues/detail?id=3223

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16356 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 03:18:24 +00:00
srdjan@google.com 71a957f142 Add regression tests for two issues (7525, 7513).
Review URL: https://codereview.chromium.org//11636033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16353 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 01:10:30 +00:00
ngeoffray@google.com 5dd479e0c3 Test seems to not time out anymore.
Review URL: https://codereview.chromium.org//11618022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16326 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 16:59:01 +00:00
ngeoffray@google.com e858839d33 Re-apply "support for typedef in checked mode" and fix the checked mode failures on drt by not sharing bound closures that have typedef checks.
Review URL: https://codereview.chromium.org//11628009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16320 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 14:11:43 +00:00
scheglov@google.com a3dcd4e8f8 Issue 7469. Report error if type appears in for extends and implements clauses
http://code.google.com/p/dart/issues/detail?id=7469

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16282 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 19:49:12 +00:00
iposva@google.com 37651c2933 - Mark gc_test the same for dart2dart as for the VM.
Review URL: https://codereview.chromium.org//11616016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16271 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 18:25:27 +00:00
regis@google.com 6665f3c92c Include super type in interface list for cycle detection (issue 4318).
Report an error if a type appears in both extends clause and implements clause.
Add language test.
Close old pending issue 4905685.
Review URL: https://codereview.chromium.org//11613007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16237 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 00:13:33 +00:00
lrn@google.com 5aff4a1b70 Add more super-invocation InvocationMirror tests.
Review URL: https://codereview.chromium.org//11572011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16202 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 11:36:39 +00:00
regis@google.com 3ae792bbf4 Implement InvocationMirror.invokeOn method in the vm (issue 7227).
Review URL: https://codereview.chromium.org//11570042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16187 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-15 00:28:41 +00:00
scheglov@google.com 2c93012cc4 Issue 6971. Don't report error for using built-in identifier as part of parameterized type.
http://code.google.com/p/dart/issues/detail?id=6971

It seems that this is official position of Gilad, so I just do what is he thinks is right.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16180 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 21:24:38 +00:00
kustermann@google.com 5b7247a974 Updated status files for safari test failures: created issue 7414
Review URL: https://codereview.chromium.org//11571024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16162 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 13:53:33 +00:00
kasperl@google.com 0486a35522 Revert "Wat if you closure identical?"
Revert "Update comment suggested by Kasper."

This reverts r16112 and r16113.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16161 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 13:44:45 +00:00
kustermann@google.com cb54878e87 Updated status files for opera test failures: created issue 7413
Review URL: https://codereview.chromium.org//11578028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16159 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 13:26:45 +00:00
ngeoffray@google.com 6497877127 Revert r16154: some browser tests in checked mode fail.
Review URL: https://codereview.chromium.org//11564034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16157 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 11:14:27 +00:00
ngeoffray@google.com 0db17a53b3 Support for typedef in checked mode.
Review URL: https://codereview.chromium.org//11572009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16154 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 09:00:49 +00:00
kustermann@google.com 2c17e147c8 Tests which fail on Opera are now marked as "Fail", with comment "to be triaged"
Review URL: https://codereview.chromium.org//11571009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16125 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 16:12:58 +00:00
karlklose@google.com ccb84b78c1 Implement subtype checks on type arguments.
BUG=dartbug.com/5096

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16116 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 15:04:53 +00:00
ngeoffray@google.com d3a2700275 Update comment suggested by Kasper.
Review URL: https://codereview.chromium.org//11574005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16113 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 14:39:56 +00:00
ngeoffray@google.com c8ee314f0a Wat if you closure identical?
Review URL: https://codereview.chromium.org//11564013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16112 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 14:25:06 +00:00
karlklose@google.com 512b384043 Mark prefix16_test as failing in checked mode.
TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16092 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 09:14:49 +00:00
karlklose@google.com 0553661606 Implement is-checks for closures.
BUG=dartbug.com/5022

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16090 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 08:56:36 +00:00
regis@google.com c195fc9e92 Fix type test for callable objects (issue 7338).
Review URL: https://codereview.chromium.org//11549027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16069 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 22:33:15 +00:00
scheglov@google.com a691a8955c Issue 6836. Reference to prefixed undeclared identifier in static context is also warning
http://code.google.com/p/dart/issues/detail?id=6836

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16050 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 16:56:30 +00:00
kasperl@google.com 9ebc9efc49 Don't rename 'call' in dart2dart.
BUG=http://dartbug.com/7341

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16038 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 13:42:15 +00:00
regis@google.com 530d8765ed Tests invoking the call operator do not pass in the minified version of
dart2dart.
Review URL: https://codereview.chromium.org//11543010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16014 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 02:11:24 +00:00
regis@google.com 54c221b19f Remove dart2dart test failures after r16009.
Review URL: https://codereview.chromium.org//11549008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16012 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 01:11:57 +00:00
regis@google.com 697550b2a2 Support call operator in the vm.
Review URL: https://codereview.chromium.org//11316343

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16009 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 00:48:58 +00:00
scheglov@google.com 1f37d21d41 Issue 7282. Report error for deprecated === and !==
http://code.google.com/p/dart/issues/detail?id=7282

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15989 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 18:26:02 +00:00
kustermann@google.com 4ba7478a22 Added supressions of test failures on Safari for {corelib,language,html}
Review URL: https://codereview.chromium.org//11533006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15987 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 17:41:39 +00:00
johnniwinther@google.com 70dfb77fab noSuchMethod generated for super calls
Review URL: https://codereview.chromium.org//11415287

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15976 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 14:26:50 +00:00
ngeoffray@google.com 41b8ee2446 Update statsu file for dart2dart: minification and mirror don't work.
Review URL: https://codereview.chromium.org//11538005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15969 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 12:33:19 +00:00
ngeoffray@google.com 49972c5b71 I was testing with an old version of the VM. Updating status file.
Review URL: https://codereview.chromium.org//11531005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15965 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 11:51:08 +00:00
ngeoffray@google.com 51bcb240f4 Add Lasse's test case from dartbug.com/6451.
Review URL: https://codereview.chromium.org//11529007

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