Commit Graph

3219 Commits

Author SHA1 Message Date
asiva@google.com 2aac9832e0 Update co19 status file for issue 7089
Review URL: https://codereview.chromium.org//11414287

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15620 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-02 05:43:37 +00:00
scheglov@google.com 47d52ca683 Triage some co19 tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15597 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 20:19:43 +00:00
aprelev@gmail.com b09632ab95 Fix floating point issues on Windows.
BUG=dartbug.com/5407
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15546 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 22:40:12 +00:00
hausner@google.com fe1b63afbc Eliminate support for old getter syntax
Empty parameter list in a getter declaration is now a compile time error.
Review URL: https://codereview.chromium.org//11416254

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15532 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 18:33:45 +00:00
scheglov@google.com 04e18f28de Triage some co19 tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15527 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 17:39:02 +00:00
ahe@google.com 442d1fb733 Update co19 to r473.
Review URL: https://codereview.chromium.org//11411258

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15509 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 10:29:17 +00:00
ricow@google.com 3760272d10 Suppress crashes from issue 6931 in host_checked mode
Review URL: https://codereview.chromium.org//11428072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15502 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 09:09:33 +00:00
ahe@google.com 1b6ecfa255 Update dart2dart status after r15443.
Review URL: https://codereview.chromium.org//11415172

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15446 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 10:01:47 +00:00
ahe@google.com 5b8225c775 Record redirection targets as instantiated in the resolver.
BUG=http://dartbug.com/6894

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 08:59:16 +00:00
regis@google.com 1de3a5c0f7 Enforce rule in vm that factory name must match enclosing class name.
This is a step towards removing support for obsolete default factory classes.
For now, disable tests using obsolete syntax. More will get disabled as support
is completely removed. We may then permanently remove some tests, while updating
and reenabling others whose purpose is not related to default factory classes.
Review URL: https://codereview.chromium.org//11419191

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15428 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:11:29 +00:00
antonm@google.com f3d4417e78 Adjust suppressions.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15367 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 05:28:44 +00:00
tball@google.com bf5f0db5d0 Added support for isolate unhandled exceptions.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15352 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 23:31:47 +00:00
scheglov@google.com 61776ab7e5 Issue 6881. Import and part URIs can be adjacent strings
http://code.google.com/p/dart/issues/detail?id=6881

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15351 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 23:11:26 +00:00
scheglov@google.com b67a63c232 Issue 6825. Parse @meta annotations before 'export' directive.
http://code.google.com/p/dart/issues/detail?id=6825

co19 failure should be fixed completely after http://code.google.com/p/dart/issues/detail?id=6836

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15331 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 18:31:51 +00:00
scheglov@google.com 1806149f58 Issue 6824. Re-export of conflicting elements is error.
http://code.google.com/p/dart/issues/detail?id=6824

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15320 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 17:48:48 +00:00
scheglov@google.com 7b6e1b5a99 Issue 6823. Type variable bounds are type annotations, so there should be warning, not error.
http://code.google.com/p/dart/issues/detail?id=6823

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15318 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 17:36:31 +00:00
scheglov@google.com a69c8b98fc Issue 6822. Report error only if import prefix is hidden by top-level element.
http://code.google.com/p/dart/issues/detail?id=6822

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15314 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:49:05 +00:00
scheglov@google.com 1277895b47 Issue 6836. Using undeclared identifier in static context is now warning.
http://code.google.com/p/dart/issues/detail?id=6836

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15311 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:18:35 +00:00
aprelev@gmail.com d551a69370 Produce run-time error when type parameters are accessed from static context.
BUG=dartbug.com/5231
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15292 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 16:53:04 +00:00
smok@google.com 428e56fb7e [dart2dart] triage co19 tests
Review URL: https://codereview.chromium.org//11412153

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15284 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 13:23:44 +00:00
karlklose@google.com b9b03826a8 Simplify runtime type support.
1. Store the class name on the JS constructor and only attach runtime type information to objects that need information about their type arguments.

2. Generate the runtime type string at runtime.

3. Change the structure of runtime type information to an array and access type arguments by index.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15255 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 13:32:08 +00:00
erikcorry@google.com 359736e97a Fix Unicode issues in dart2js and dart2dart.
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15254 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:51:14 +00:00
ahe@google.com 1dc0fcfe0a Update co19-dart2dart.status for minification.
Review URL: https://codereview.chromium.org//11414129

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15252 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:34:43 +00:00
smok@google.com 204eff654c [dart2dart] implement factory redirects
factory->factory->constructor redirects are not supported yet.

BUG=6634

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15250 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:30:48 +00:00
ahe@google.com 7d0fe16be6 Update co19 to r459.
Review URL: https://codereview.chromium.org//11411138

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15239 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 07:29:02 +00:00
regis@google.com c2b4cccaee Ambiguous type references require a compile time error in some special cases
(fix issue 6741).
Review URL: https://codereview.chromium.org//11348188

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15233 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 00:14:08 +00:00
scheglov@google.com 44c2dbfc4a Fix dartc status
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15232 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 23:10:42 +00:00
nweiz@google.com 52a1afb4a3 Make exceptions propagate through multiple Future branches.
This is identical to r15221 except that it marks co19 tests as failing.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15228 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 22:36:04 +00:00
scheglov@google.com 77a612f826 Triage some co19 failures.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15177 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 19:35:26 +00:00
scheglov@google.com 62f9fea6ab Issue 6283. Support type literals as expressions.
http://code.google.com/p/dart/issues/detail?id=6283

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15173 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 18:59:53 +00:00
karlklose@google.com d2dbd01a0f Support type literals as compile-time constants.
Review URL: https://codereview.chromium.org//11299009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15154 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 15:43:27 +00:00
erikcorry@google.com 84da84c22d Revert "Add some support for the code-point code-unit distinction."
This reverts commit r15150

R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15152 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 15:23:41 +00:00
erikcorry@google.com 547cbf9da6 Add some support for the code-point code-unit distinction.
Adds String.fromCodeUnits and String.codeUnitAt, and modifies
String.fromCodePoints and String.codePointAt to actually use code points.
Fixes String.charCodes to use code points and adds String.codeUnits.
Reenables some tests, and adds new ones for non-BMP characters.
Fixes issues 6418, 6501 and 1357.

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15150 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 14:51:25 +00:00
lrn@google.com 22309b260c Remove NullPointerException.
Accessing non-existing members on null now throws NoSuchMethodError.
Throwing a null value fails by throwing a NullThrownError.
Methods checking for null now generally throw new ArgumentError(null).

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15136 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 09:21:52 +00:00
lrn@google.com 0c8dce77f1 Revert "Remove NullPointerException."
Crashes in the x64 VM.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15065 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 09:59:59 +00:00
lrn@google.com e211c2f0ee Remove NullPointerException.
Accessing non-existing members on null now throws NoSuchMethodError.
Throwing a null value fails by throwing a NullThrownError.
Methods checking for null now generally throw new ArgumentError(null).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15061 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 08:51:49 +00:00
ahe@google.com e004d21e19 Fix a couple of bugs in handling of factory redirections.
Review URL: https://codereview.chromium.org//11312245

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14940 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-15 06:34:50 +00:00
ahe@google.com 5b2656ec44 Implement --analyze-all option.
Review URL: https://codereview.chromium.org//11293244

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14878 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 09:47:58 +00:00
lrn@google.com 7e10a8ab58 Fix analyzer test expectations
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14844 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 12:40:49 +00:00
lrn@google.com 4a18bbf916 Remove deprecated exception classes.
Review URL: https://codereview.chromium.org//11360224

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14843 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 12:22:54 +00:00
ajohnsen@google.com ab69873a42 Make RegExp constructor non-const.
Another take of https://codereview.chromium.org/11410033/ with status changes applied for co19 tests.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14837 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:18:06 +00:00
ajohnsen@google.com ec9fee9858 "Reverting 14829-14832"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14833 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:28:13 +00:00
ajohnsen@google.com 8dc3edd7ce Make RegExp's constructor non-const.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14829 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 06:48:43 +00:00
hausner@google.com 4ca0c72fd5 Enforce proper library/import syntax
Review URL: https://codereview.chromium.org//11312197

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14828 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 01:06:48 +00:00
gram@google.com 0140f9bcb6 Revert the changes to co19; I didn't realize that I couldn't change these
tests.
Review URL: https://codereview.chromium.org//11365211

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14824 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 00:24:46 +00:00
gram@google.com cdb7da543b Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/tests/standalone.
Review URL: https://codereview.chromium.org//11358203

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14815 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 22:45:18 +00:00
ngeoffray@google.com 0212e929a0 Update status file.
Review URL: https://codereview.chromium.org//11312187

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14787 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 13:27:32 +00:00
lrn@google.com 1555c1db26 Convert String to a class.
Remove the StringImplementation class.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14779 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 08:16:59 +00:00
rnystrom@google.com f30fb024ce The goal here is to rearrange StandardTestSuite so that it's possible override some of its behavior for running package tests while still keeping the rest of the behavior.
This patch is just the refactoring. I'll do the actual pub stuff in a separate patch.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14757 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 20:56:59 +00:00
smok@google.com 23c2fb6d7c [dart2dart] Triage co19 test failures.
Review URL: https://codereview.chromium.org//11312167

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14742 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 15:26:42 +00:00