Commit Graph

3219 Commits

Author SHA1 Message Date
hausner@google.com 62db9caca1 Fix dartium status
Review URL: https://codereview.chromium.org//41993003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29224 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 23:11:47 +00:00
hausner@google.com d189f00fc0 Fix co19 test expectations
Review URL: https://codereview.chromium.org//42233002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29222 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:42:48 +00:00
asiva@google.com 3253eb3b84 Update status files to account for 14400 being fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29215 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:51:53 +00:00
hausner@google.com 07c06be8e7 It's a compile-time error if a const constructor call fails
Making it a compile-time error if a const constructor call
fails. Also improve error message when invoking dart code during
compilation fails.

Fixes issue 14302

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29212 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:42:39 +00:00
asiva@google.com 910c318003 Fix status file to mark spawnFunction as crashing until 14400 is fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29199 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:51:57 +00:00
kustermann@google.com b3ba5c5c95 test.py: Support for running tests in checked mode on none-dartium with the browser controller
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29175 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 15:37:33 +00:00
lrn@google.com 083a5c6e77 Update test expectations to also cover analyzer.
CO19 tests still use Match.str.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29172 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 12:38:06 +00:00
lrn@google.com ff1d105a0f Remove deprecated 'str' getter on Match.
BUG= http://dartbug.com/12843
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29167 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 12:06:41 +00:00
hausner@google.com 24979aba0b Fix dart2js status
Switch expression type check fails in dart2js

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29138 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:37:11 +00:00
hausner@google.com ddd9907e23 Implement type checks for switch expression
If the switch expression is not compatible with the case clause
constants, we must report a runtime error. Implement this by annotating
the temporary variable holding the switch expression with the correct
type.

Issue 7274

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29126 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 21:15:25 +00:00
fschneider@google.com c07c229b39 Update dart2dart status after bug fixes in the VM.
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29099 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 17:20:05 +00:00
fschneider@google.com 72c47cd4f9 Update dartium status after to expect 2 tests passing.
These two tests pass after my previous 2 CLs.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29098 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 16:44:33 +00:00
fschneider@google.com 77669aac3e Fix VM issue 1372: super constructor invocation with redirection.
A redirecting super constructor simply passes the phase parameter
on to the target which executes the corresponding phase.

BUG=https://code.google.com/p/dart/issues/detail?id=1372
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29097 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 16:18:20 +00:00
fschneider@google.com a61e701da3 VM: Fix evaluation order when throwing an AbstractClassInstantiationError.
BUG=https://code.google.com/p/dart/issues/detail?id=13420
TEST=Language/12_Expressions/12_Instance_Creation/1_New_A06_t12
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29088 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 15:29:02 +00:00
johnniwinther@google.com 12acea6f99 Check const expressions for malformed types.
BUG=http://dartbug.com/14299
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29080 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 13:01:30 +00:00
brianwilkerson@google.com 04f521c29e Fix issue 11534. This improves the performance of the method in question, but doesn't allow us to run the skipped tests. I suspect that there is a new reason why they cannot be run.
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29031 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:59:36 +00:00
scheglov@google.com bfe1b18ed3 Issue 13906. It is still error when typedef references itself using type variable bounds.
https://code.google.com/p/dart/issues/detail?id=13906

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29010 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 17:07:45 +00:00
fschneider@google.com 593abec44c Fix bug with load elimination in checked mode.
Definitions that are redefined through AssertAssignable must be
unwrapped to number loads/stores correctly for them.

Fix test expectations for tests that are passing now that the
corresponding co19 test was changed.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29001 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 16:03:48 +00:00
johnniwinther@google.com 237afc0fee Update status.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28987 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 07:49:03 +00:00
hausner@google.com dbe0e4c9b4 Allow string literal concatenation in import clauses
Added benefit: if there is no interpolation in any of the adjacent
string literals, the compiler concatenates the strings without
invoking Dart code.

Fixes issues 12521, 6877

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28964 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 22:13:42 +00:00
brianwilkerson@google.com 5fcd36b0b9 Fix issue 13575
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28953 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 21:15:24 +00:00
brianwilkerson@google.com d5b1b38557 Fix issue 13664
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28941 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 19:13:03 +00:00
scheglov@google.com 9a411f83f0 Don't evaluate << because of possible overflow.
Applied same change to Dart version to fix crash.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28873 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 19:37:56 +00:00
iposva@google.com 210198bc24 - Fix status files for main(args) in Dartium.
Review URL: https://codereview.chromium.org/27731004



git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28834 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 23:07:43 +00:00
hausner@google.com 67ffee7ed9 Fix dartium status file
Review URL: https://codereview.chromium.org//27746005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28833 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 22:51:00 +00:00
scheglov@google.com 581b368515 New analyzer_experimental snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28831 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 22:14:19 +00:00
hausner@google.com 0e099ff048 Check that class member names do not conflict with type parameters
Implement check that member names do not conflict with type
parameters. Simplify name checks in class namespace.
Mark typevariable_mirror_metadata_test as failing now that we
report the proper compile time errors. (The test expects no errors.)
Some co19 tests expect a name conflict between a setter X= and type
parameter X. This is still in flux from a language perspective. This
change list does not introduce an compile error for this case.

Fix for issue 13701.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28808 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 17:39:08 +00:00
kustermann@google.com 5de78ae149 Remove status file entries referring to non-existent tests
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28795 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 10:03:14 +00:00
vsm@google.com 0e0164cd46 Update status file
Looks like a bug was fixed recently.

BUG=fschneider@google.com,ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28781 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 05:00:44 +00:00
fschneider@google.com af013f056c Update dart2dart test status after VM bug fix.
BUG=https://code.google.com/p/dart/issues/detail?id=13494
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28725 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 14:42:46 +00:00
fschneider@google.com ed801a1b2f VM: Fix bug with evaluation order of static setter invocation.
This fixes the case for an assignment of the form
v=e
where v is unknown. The right-hand side of the assignment
has to be evaluated before throwing a NoSuchMethodError.

I moved the generation of the NoSuchMethodError out of
the parser to the flow-graph builder, where the right-hand side
argument is evaluated before throwing.

BUG=https://code.google.com/p/dart/issues/detail?id=13494
TEST=co19/Language/12_Expressions/18_Assignment_A01_t07
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28723 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 13:07:58 +00:00
kustermann@google.com 10b79cbffa Mark Language/12_Expressions/08_Throw_A08_t01 as failing on minified
R=lry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28718 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 11:27:32 +00:00
kustermann@google.com f92eb74c60 Followup status file update after co19-roll to r623
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28707 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 07:54:37 +00:00
johnniwinther@google.com 48328d417d Update status.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28706 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 06:23:42 +00:00
kustermann@google.com 48a5d9efe5 Followup status file update after co19-roll to r623
Review URL: https://codereview.chromium.org//27387002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28673 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 18:48:08 +00:00
kustermann@google.com 347f0afd5f Followup status file update after co19-roll to r623
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28655 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:35:35 +00:00
hausner@google.com c646aed258 Implement new mixin application syntax
Implment the class X = S with M syntax, add warning on deprecated
typedef syntax. Also convert a handful of tests. More tests to
be converted subsequently.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28652 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:13:02 +00:00
kustermann@google.com 69872a6b28 co19-roll to r623
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28647 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 15:18:24 +00:00
lrn@google.com 4589370920 Another erroneous co19 test assuming doubles don't override equals.
Review URL: https://codereview.chromium.org//27319003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28640 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 13:04:38 +00:00
lrn@google.com 0b3d95a799 Fix tests that didn't fail before double got an equality operator.
Review URL: https://codereview.chromium.org//26297003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28638 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 12:42:27 +00:00
karlklose@google.com 529b2f111c Emit a compile-time error when using doubles as switch case expressions.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28637 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 12:03:24 +00:00
karlklose@google.com 448bd98a12 Emit compile-time error if a redirecting factory points to itself.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28630 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 06:36:16 +00:00
karlklose@google.com 5870a6cb30 Emit a compile-time error when using default values in function typed parameter.
BUG=12812,12813
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28574 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 10:35:29 +00:00
floitsch@google.com 20864f360f We don't care how the co19 fails.
Review URL: https://codereview.chromium.org//27102002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28568 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 15:13:29 +00:00
floitsch@google.com 8b86d87e62 Re-add dart2dart to failing test-condition.
Review URL: https://codereview.chromium.org//27101002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28567 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 14:16:54 +00:00
floitsch@google.com 7f120048d3 Add Dartium to list of failed tests because of co19.
Also add bug-number of co19.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28565 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 13:26:48 +00:00
floitsch@google.com dc9c5f42ed Redo StreamTransformers so they work with Stack traces.
Since this involved a breaking change I cleaned up more of the
StreamTransformer API.

This CL also deprecates the getAttachedStackTrace method.

R=ajohnsen@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28562 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 12:34:34 +00:00
aprelev@gmail.com a2a244ea1c Switch dart2js 'typedef name = mixinApplication' to 'class name = mixinApplication'.
BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28561 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 00:55:17 +00:00
johnniwinther@google.com 3fc738565c Update dart2dart status
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28519 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 15:26:00 +00:00
johnniwinther@google.com af01be2b97 Handle clash of prefix/non-prefix imports.
BUG=http://dartbug.com/5712
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28514 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 12:32:16 +00:00