Commit Graph

1846 Commits

Author SHA1 Message Date
ahe@google.com cefacc0a90 Skip tests in debug mode that times out
Review URL: https://chromiumcodereview.appspot.com//9323080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3946 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:35:02 +00:00
efortuna@google.com 2586551813 Fix GCTest in language status file.
Review URL: https://chromiumcodereview.appspot.com//9325046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3925 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 23:38:58 +00:00
asiva@google.com ce3621d92f Revert tests to their original form, these were missed out in an earlier CL.
Review URL: https://chromiumcodereview.appspot.com//9317092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3924 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 23:07:51 +00:00
srdjan@google.com be66ab9a1c Fix for issue 1307: throw runtime exception instead of reporting a compile time error if a static call cannot be resolved.
Review URL: https://chromiumcodereview.appspot.com//9316100

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3922 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 22:25:16 +00:00
efortuna@google.com 80908ff5cf Update language.status.
Review URL: https://chromiumcodereview.appspot.com//9309065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3881 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 23:29:06 +00:00
srdjan@google.com 0a61ec9e8d Fix frogium build by disabling test for frog, frogsh AND frogium.
Review URL: https://chromiumcodereview.appspot.com//9325007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3874 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 21:04:14 +00:00
srdjan@google.com 995c4689cf Add test for OutOfMemory in VM
Review URL: https://chromiumcodereview.appspot.com//9323012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3871 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 20:50:22 +00:00
srdjan@google.com 5d53270821 Intrinisifed more core library methods: isNaN, isNegative, cos, sin.
TODO: inline those methods in otpimized code.
Review URL: https://chromiumcodereview.appspot.com//9320023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3869 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:44:55 +00:00
srdjan@google.com e0e269e20a Fix failing builds: leg does not know about closures yet, debug VM builds take too long.
Review URL: https://chromiumcodereview.appspot.com//9309060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3862 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:54:31 +00:00
efortuna@google.com 1e734076dc Get Firefox on Windows running.
Review URL: https://chromiumcodereview.appspot.com//9314047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3811 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 21:24:52 +00:00
zundel@google.com 6af6186796 Sort and format the language.status dartc section
I also annotated a couple of the lines with public issue numbers.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3794 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 16:05:45 +00:00
hausner@google.com bab2015be3 Frog fails the new conditional expression test.
Review URL: https://chromiumcodereview.appspot.com//9316018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3773 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 01:20:17 +00:00
hausner@google.com 7f54ad8b0f Fix brakage.
Was asleep.
Review URL: https://chromiumcodereview.appspot.com//9314019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3770 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:56:31 +00:00
zundel@google.com ffd2a08a22 Type Variables cannot be used in identifier expressions
dartc was allowing this code to get through to code generation.

http://code.google.com/p/dart/issues/detail?id=1387

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3757 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 22:17:00 +00:00
srdjan@google.com b4dbc21544 Fix frogsh builds.
Review URL: https://chromiumcodereview.appspot.com//9309015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3752 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:51:03 +00:00
zundel@google.com 6d9ee83915 Fix crash in dartc when given cyclic type variable bounds.
http://code.google.com/p/dart/issues/detail?id=211

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3751 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:46:24 +00:00
srdjan@google.com 9e77768c91 Fix for bug 1229: Unary operator plus is not allowed ... except for literals.
Add tests for incorrect literals, e.g. "+ 5".

Added a temporary token kTIGHTADD that represents an ADD not terminated by a whitespace. It is temporary and eliminated in the parser (code generator ot AST do not see it). It is used to recognize correct literals.
Review URL: https://chromiumcodereview.appspot.com//9264051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3745 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 20:05:24 +00:00
regis@google.com 8c7bf5bb20 Second try at disabling failing test, which is actually not failing in frog, but
only in leg.
Review URL: https://chromiumcodereview.appspot.com//9316003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3741 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 18:54:51 +00:00
regis@google.com f2477b1a48 Disable new test failing in frogsh and leg.
Review URL: https://chromiumcodereview.appspot.com//9315003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3740 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 18:41:46 +00:00
kasperl@google.com 15d4af7cbf Update test expectations for browser tests.
R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3710 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 08:24:39 +00:00
efortuna@google.com 95498e8e50 Prevent browser windows from staying open.
Review URL: https://chromiumcodereview.appspot.com//9303019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3705 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 01:47:41 +00:00
efortuna@google.com 5a44035961 Changing to recommended way to fix console.log in IE by Kasper.
Plus some updates to the test.stats files for IE results.
Review URL: https://chromiumcodereview.appspot.com//9302012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3704 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 00:51:43 +00:00
regis@google.com 980cbf9c74 Store resolved library prefix in unresolved class object in order not to repeat
unnecessary library prefix resolution.
Remove redundant Type::NewParameterizedType() helper.
Simplify parsing of qualified identifiers.
Cleanup parsing of factory methods.
Fix resolution of imported types (add tests).
Review URL: https://chromiumcodereview.appspot.com//9233039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3703 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 00:07:07 +00:00
ahe@google.com 1eaead81fd A test of super constructor calls.
Review URL: https://chromiumcodereview.appspot.com//9298048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3681 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-30 07:05:40 +00:00
zundel@google.com 8d897192ae Call operator shared test and parser updates for operator call in dartc.
http://code.google.com/p/dart/issues/detail?id=1355

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3671 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 22:32:00 +00:00
ahe@google.com 7d3345a87e Update status for browser tests
Review URL: https://chromiumcodereview.appspot.com//9225026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3657 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 16:22:50 +00:00
antonm@google.com 8763b2b5e4 Skip only on Dartium.
Review URL: https://chromiumcodereview.appspot.com//9298007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3651 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 12:51:56 +00:00
ngeoffray@google.com 6cfb88c596 Implement support for user-defined operators.
Review URL: https://chromiumcodereview.appspot.com//9284022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3646 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 10:51:24 +00:00
antonm@google.com 86c806b62d Skip language/StringEscape1NegativeTest on Dartium.
Review URL: https://chromiumcodereview.appspot.com//9232044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3643 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 10:06:52 +00:00
regis@google.com 6f6543f4f9 Disable failing new tests for frog and leg.
Review URL: https://chromiumcodereview.appspot.com//9271086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3633 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 00:05:51 +00:00
ahe@google.com 95a88f1be0 Don't allow escaping newlines in single line strings.
Review URL: https://chromiumcodereview.appspot.com//9288070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3624 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 19:33:42 +00:00
zundel@google.com 226ed91138 Added runtime type checking to the elements of list and map literals in dartc
http://code.google.com/p/dart/issues/detail?id=220
http://code.google.com/p/dart/issues/detail?id=221

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3619 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 17:33:04 +00:00
zundel@google.com 7169189529 Update map literal syntax to expect only one type parameter
As of the spec v0.6, the correct syntax is now:
  <V>{"key" : value };
Whereas you used to also specify the key. Added a deprecation warning
for the old syntax.

http://code.google.com/p/dart/issues/detail?id=1151

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3606 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 20:21:24 +00:00
scheglov@google.com f7182176bf Issue 1229. Report error for using unary plus operator.
http://code.google.com/p/dart/issues/detail?id=1229

R=zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3560 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 19:05:55 +00:00
scheglov@google.com 43de601434 Fix build for BadNamedParametersTest
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3517 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 22:08:06 +00:00
scheglov@google.com c0a3f43ce6 Issue 932. Checks for various named arguments cases.
http://code.google.com/p/dart/issues/detail?id=932

1. Clean up List<? extends Type>;

2. Generate compile time warnings/errors.

3. Generate run time errors.

4. Fix corresponding tests according to spec.

R=zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3511 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 20:01:31 +00:00
jimhug@google.com 85e0542126 fix break in r3504
Review URL: https://chromiumcodereview.appspot.com//9222015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3505 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 18:44:00 +00:00
jimhug@google.com 6f9aa02d6e Lots of frog cleanup
Review URL: https://chromiumcodereview.appspot.com//9270048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3504 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 18:17:50 +00:00
zundel@google.com 6b677ae576 Allow classes shadowed by type variables to be referenced in static context
We still print a shadowing warning, but if there is a valid reference outside
the variable is now resolved to it.  Otherwise, we print the existing message
about not being able to reference type variables in a static context.

See bug: http://code.google.com/p/dart/issues/detail?id=643

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3434 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 15:12:26 +00:00
efortuna@google.com d0d58b4e89 Modify status files to account for test outcome differences between 32 bit and
64 bit Safari.
Review URL: https://chromiumcodereview.appspot.com//9254009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3408 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 19:14:07 +00:00
hausner@google.com 43c304c00f Skip is better than Fail
I am too stupid to understand multi-case tests. Seems the DuplicateImplementsTest needs to be tagged Skip instead of Fail
for dartc and frog.
Review URL: https://chromiumcodereview.appspot.com//9255021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3407 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 19:06:33 +00:00
hausner@google.com cb74b73a2c Fix dartc build: exclude DuplicateImplementsTest
TBR
Review URL: https://chromiumcodereview.appspot.com//9251014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3406 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 18:22:45 +00:00
hausner@google.com a1d6281cce Fix frog build: exclude DuplicateImplementsTest
TBR
Review URL: https://chromiumcodereview.appspot.com//9259001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3405 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 18:13:41 +00:00
regis@google.com 366695d347 Ignore parsed types of local variables in unchecked mode and replace them with
the Dynamic type.
Review URL: https://chromiumcodereview.appspot.com//9232016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3404 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 18:08:04 +00:00
efortuna@google.com 4ecc520173 Make changes for Safari to run with webdriver on the bots.
Review URL: https://chromiumcodereview.appspot.com//9252002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3382 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 02:22:10 +00:00
jimhug@google.com 92ea87d275 cleanup resolveMember and get/set
Fixes two get/set tests as a result of cleanup and mostly addresses several other issues to be completed in a follow-up commit.  This version has been better tested and addresses perf and correctness issue in the reverted 922001.

Review URL: http://codereview.chromium.org//9222004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3328 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-15 03:08:50 +00:00
jimhug@google.com 0d1b74096d Revert "cleanup resolveMember and get/set" - undo previous commit so that more time will be available to understand buildbot failures.
Review URL: http://codereview.chromium.org//9220003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3327 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-14 20:46:07 +00:00
jimhug@google.com f87bfe780c cleanup resolveMember and get/set
Fixes two get/set tests as a result of cleanup and mostly addresses several other issues to be completed in a follow-up commit.  This is coming in a little bit early to minimize merge issues as John is making simultaneous great progress.

Review URL: http://codereview.chromium.org//9222001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3326 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-14 20:32:13 +00:00
jmesserly@google.com 8d77be39d7 Fix status file now that the test is fixed, and remove an assert I had in for debugging. Apparently the condition doesn't hold yet. I updated the comment.
Review URL: http://codereview.chromium.org//9207022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3323 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-14 02:41:49 +00:00
efortuna@google.com 9fa0180cc1 Get Firefox and IE working again with Object.defineProperty!
Review URL: http://codereview.chromium.org//9214005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3312 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 22:28:50 +00:00