Commit Graph

3219 Commits

Author SHA1 Message Date
scheglov@google.com f1f9392151 Dynamic is a subtype of any type.
Technically not, effectively yes.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24596 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 16:47:42 +00:00
ahe@google.com 9928ed706d Test was fixed by Kevin in r24583
TBR=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24585 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 12:54:32 +00:00
kmillikin@google.com 5f9331e20c Fix a VM bug in the handling of try/catch/finally.
In the case that code in the catch block threw in any fashion, the
finally block was not executed.  Fix this by properly treating the
finally block of try/catch/finally as an exception handler for the
catch block.

R=fschneider@google.com, srdjan@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=430

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24583 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 12:28:56 +00:00
scheglov@google.com 69dc734f8b Report TYPE_ALIAS_CANNOT_REFERENCE_ITSELF
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24568 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 01:12:31 +00:00
scheglov@google.com bd94820e54 Report CTEC.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS for 'const' instance creation.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24567 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 01:05:12 +00:00
scheglov@google.com 325c5723ba Report EQUALITY_CANNOT_BE_EQUALITY_OPERAND
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24560 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 22:31:32 +00:00
scheglov@google.com 4e59cd2f73 Report ILLEGAL_CHARACTER for nbsp.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24552 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 21:28:39 +00:00
scheglov@google.com 5ab28b9833 Report CHARACTER_EXPECTED_AFTER_SLASH
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24551 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 21:26:09 +00:00
scheglov@google.com 594c29a13f Report PRIVATE_OPTIONAL_PARAMETER in more cases.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24544 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:49:15 +00:00
iposva@google.com 50fc824be9 - Remove arguments definition test from the VM.
- Update tests still referring to it.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24539 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:37:53 +00:00
scheglov@google.com 06abe7be3b Report FUNCTION_TYPED_PARAMETER_VAR
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24538 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:35:26 +00:00
regis@google.com 7370d2a2f6 Minor status file update for ARM.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24533 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:12:49 +00:00
scheglov@google.com 9c484f1d3e Triage the rest of the co19.
Some of tests are invalid, some requires fixes in analyzer.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24530 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:01:34 +00:00
scheglov@google.com e5b3f9f855 Report errors for invalid annotations.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24529 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:58:04 +00:00
zra@google.com 60392c70fd Implements external array access for mips.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24524 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:42:39 +00:00
scheglov@google.com 18bc4ea6c3 Use InheritanceManager to lookup 'iterator' getter.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24495 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 22:45:31 +00:00
scheglov@google.com f79bad9753 Triage some co19 tests.
This time the ones which were skipped.
As I see on one of them Brian is working (as discussed in mail) and for other two I've opened the issue.

R=jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24494 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 22:39:23 +00:00
zra@google.com 646e8fe9f6 Fixes status file.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24492 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 21:37:32 +00:00
zra@google.com 6b33d60322 Fixes co19 status file.
Forgot about windows...

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24490 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 21:25:18 +00:00
zra@google.com bc703b348f Updates co19 status file for simarm and simmips.
Also marks corelib/collection_to_string_test as
Pass, Crash for arm hardware, as it crashes
occasionally.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24489 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 20:54:17 +00:00
zra@google.com ce82a777e5 Fixes integer negate intrinsic for arm and mips.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24481 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 17:43:48 +00:00
zra@google.com 364c5406b8 Fixes floating point bug in ARM simulator.
Adjusts status files to match.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24473 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 15:48:22 +00:00
kasperl@google.com 1e6c3a1998 Remove support for 'argument definitions test' from dart2js.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24455 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 08:02:25 +00:00
scheglov@google.com 6a3acdfd5b Triage some co19 tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24445 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 02:33:57 +00:00
iposva@google.com 11632110c6 - Revert r24441 until issues found have been addressed.
Review URL: https://codereview.chromium.org//17769004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24443 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 23:38:45 +00:00
iposva@google.com ddc3e13f8a - Trial balloon for removal of argument definition test.
This change removes the support for the ? operator.

R=asiva@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24441 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 23:04:19 +00:00
jwren@google.com 5b4546b4ec Combine TYPE_ARGUMENT_VIOLATES_BOUNDS and TYPE_ARGUMENT_NOT_MATCHING_BOUNDS into TYPE_ARGUMENT_NOT_MATCHING_BOUNDS, and cover remaining TypeName cases.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24435 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 22:06:54 +00:00
zra@google.com 99772465b5 Updates status files for arm hardware
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24431 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 20:16:02 +00:00
jwren@google.com c8a8f8774f Bug fix for isSubtypeOf.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24428 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 18:59:13 +00:00
zra@google.com 5bf5a92064 Fixes bugs in arm and mips intrinsifier.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24427 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 18:58:47 +00:00
scheglov@google.com 01f2eed5f5 Don't report INVOCATION_OF_NON_FUNCTION if variable is dynamic
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24425 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 18:20:18 +00:00
scheglov@google.com 6b7f530f89 Triage some co19 tests.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24424 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 18:06:48 +00:00
scheglov@google.com 15c04b4585 Don't report problem when call 'call()' of Function.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24420 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:28:18 +00:00
scheglov@google.com 932ce2e814 Report CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE for invalid prefixed identifier.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24419 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:21:09 +00:00
scheglov@google.com 80dd7467ce Report CONST_EVAL_THROWS_IDBZE when VM will throw IntegerDivisionByZeroException
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24418 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:18:23 +00:00
scheglov@google.com 8a8342897c Fix for super.getter() invocation.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24417 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:15:16 +00:00
scheglov@google.com 69a950c432 Report MISSING_ASSIGNABLE_SELECTOR for postfix and literal.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24416 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:10:38 +00:00
scheglov@google.com 888039585f Report ILLEGAL_CHARACTER for not 'a'-'z' and 'A'-'Z' letters in identifiers.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24415 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:07:12 +00:00
scheglov@google.com 598ec5ea69 Report CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS using type of 'case' expressions.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24413 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:03:46 +00:00
scheglov@google.com a1d35d4a95 Object is assignable to a function type.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24412 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:01:22 +00:00
scheglov@google.com 1c16888381 Resolve @Type.constructorName() and its arguments.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24375 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 23:26:53 +00:00
scheglov@google.com 2d5e1fdbc0 Triage some co19 tests.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24370 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 21:50:39 +00:00
zra@google.com 6ea08a30af Allows exception object to be null in simarm and simmips.
Also, updates status files.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24361 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 18:38:46 +00:00
scheglov@google.com 72ae727f63 Report CompileTimeErrorCode.CONFLICTING_METHOD_AND_GETTER
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24360 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 18:38:31 +00:00
kasperl@google.com 2aed492df2 Update ie9 status after tweaking inlining heuristics.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24358 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 18:31:58 +00:00
kasperl@google.com a944ac501c Update status files after inlining change.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24356 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 18:23:01 +00:00
scheglov@google.com b0da45bbab Report CompileTimeErrorCode.INSTANCE_STATIC_MEMBER
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24353 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 17:36:16 +00:00
scheglov@google.com 0c3f8bc8cc Report ParserErrorCode.STATIC_FUNCTION_DECLARATION
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24352 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 17:22:21 +00:00
scheglov@google.com ad8cb0aeed Report CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE when 'new' even if 'const' constructor.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24346 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 16:38:36 +00:00
scheglov@google.com 4aba9a97c1 More cases to report IMPLICIT_THIS_REFERENCE_IN_INITIALIZER
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24345 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 16:34:35 +00:00