Commit Graph

1846 Commits

Author SHA1 Message Date
regis@google.com 2d1f63af47 Port a couple more stubs to x64.
Fix integer implementation issues.
Enable all tests on x64.
Review URL: http://codereview.chromium.org//9114054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3307 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 20:07:54 +00:00
hausner@google.com 9e690fc833 Fix dartc build
Fails the enhanced pseudo keyword tests

TBR=mmendez
Review URL: http://codereview.chromium.org//9213007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3306 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 19:49:34 +00:00
hausner@google.com 197348daa2 Fix frog build
Doesn't handle pseudo kw right.
Review URL: http://codereview.chromium.org//9174011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3305 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 19:41:33 +00:00
hausner@google.com 343dff6255 Proper handling of built-in identifiers
Allow pseudo-keywords (built-in identifiers) as regular identifiers for anything but class names, interface names, typedef names.

Still todo: Update blacklist of class/interface names, disallow pseudo-keywords as type parameter names.
Review URL: http://codereview.chromium.org//9107070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3303 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 19:24:50 +00:00
jimhug@google.com 28c673ef01 fix issue 1110 (handle void better)
Review URL: http://codereview.chromium.org//9188048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3254 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:11:09 +00:00
jimhug@google.com d2355eac57 fix language.status
This was broken in cl3234 as the result of a bad git merge on my part.  This should fix the build issues on the frogium firefox bot.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3244 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 17:10:27 +00:00
jimhug@google.com 0f72237277 fix pseudo keyword test failues
Review URL: http://codereview.chromium.org//9139062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3240 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:10:31 +00:00
jimhug@google.com c2564f534d fix issue 356 by making test match spec
Review URL: http://codereview.chromium.org//9147006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3234 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:01:26 +00:00
jimhug@google.com fd09f522c5 fix Library*NegativeTests (and a couple Prefix ones by accident)
In general, this change felt fine to make in frog; however, it felt REALLY ugly to make the required fixes to the dartdoc tests.  I suppose this just raises the priority of our packaging and library story.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3222 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:20:23 +00:00
sigmund@google.com 8139db7ae4 bots: include webdriver tests in bots.
Review URL: http://codereview.chromium.org//9188012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3206 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 20:48:33 +00:00
jimhug@google.com 3130910ae0 Updates language.status to reflect the invalid status of issue #354. Also adds comments to the test cases to help clarify their intended behavior for future readers.
Review URL: http://codereview.chromium.org//9139020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3202 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 19:37:00 +00:00
antonm@google.com 8f2e04904c Remove suppression.
BUG=1113

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3159 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 18:22:28 +00:00
ahe@google.com 73bb4430ec language/Unary2Test is flaky on Dartium.
Review URL: http://codereview.chromium.org//9166005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3134 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 11:40:56 +00:00
ahe@google.com 37af5fb7db Better error recovery.
Review URL: http://codereview.chromium.org//9158001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3130 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 08:36:02 +00:00
regis@google.com 5a11b9b3ad A class/interface cannot implement/extend a type parameter (issues 886 and 887).
Added tests.
Review URL: http://codereview.chromium.org//9153006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3122 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 00:01:47 +00:00
jimhug@google.com b2b7cb0f6f running presubmit
review suggestions

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3114 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 22:01:16 +00:00
scheglov@google.com 01abdc883f Blacklist types from core library, issue 969
http://code.google.com/p/dart/issues/detail?id=969

R=zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3102 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 16:36:04 +00:00
jimhug@google.com 1dd7a8484c continued cleanup of initialization and Value
Less code, more tests passing...  EvaluatedValue and MethodGenerator.evalBody are both in the right direction but will be evolving fairly rapidly to get to a fully cleaned up state.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3077 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 03:42:49 +00:00
jimhug@google.com 154e4ce2d2 Fixes 2 tests and a crash - while cleaning up EvaluatedValue
Another step towards cleaning up the use of Value.  Greatly reduced use of .dynamic and slowly increasing modularity of code for handling consts by moving it into the constant Values themselves.  Apologies for the ugliness of added parens around ALL numeric constants - but this did simplify several parts of the code while fixing a couple of broken tests.  I'm confident this step back in readability won't last out the weekend (though I'm not telling you which one <smile>).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3076 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-08 00:04:20 +00:00
jimhug@google.com ab7e321da0 update status file
Accidentally fixed a crash <smile>.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3068 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-07 03:26:31 +00:00
jimhug@google.com 81c2ca4ff5 cleanup to Value - fix for StringEscapesTest
Motivation of this change was cleaning up value.dart.  This also led to finally handling parsing and escaping string literals in a rational way - which accidentally fixed a test.  This is intended to setup a future change that can simplify EvaluatedValue hopefully dramatically.  Changes to await were required due to refactoring of tree.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3067 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-07 03:07:34 +00:00
iposva@google.com 2cfa7066ba - Update status file.
Review URL: http://codereview.chromium.org//9120013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3059 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 22:02:49 +00:00
iposva@google.com d09c5a4bfe Fix broken tests:
- For compilation to trigger a method has to be called.
- operator [] is not allowed in compile time constants.
- Trigger --compile_all for added verification.
Review URL: http://codereview.chromium.org//9121014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3058 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 21:45:36 +00:00
jmesserly@google.com ff8a1713e4 Support for nested comments
Fixes http://code.google.com/p/dart/issues/detail?id=1044

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3005 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 18:10:55 +00:00
ahe@google.com af4de59113 Detect crashes in frog/leg (when running on VM).
Review URL: http://codereview.chromium.org//9111012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2992 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 12:26:20 +00:00
ager@google.com 33a9192da0 Fix incorrect status file syntax.
The test.py status parser is doing this wrong. test.dart catches the
problem.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2985 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 09:52:49 +00:00
jmesserly@google.com f5774e3f69 Fixes improper boxing in obj.dynamic
http://code.google.com/p/dart/issues/detail?id=651
I considered the other fix (omitting the call entirely) but it gets a bit strange if someone overrides Object.dynamic.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2977 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 02:11:02 +00:00
codefu@google.com dbb10e2cc8 Issue 1039: Nested comments
http://code.google.com/p/dart/issues/detail?id=1039

Language Specification 0.06, 14.1.2 specifices that multiline comments can
nest:
  MULTI LINE COMMENT:
    ‘/*’ (MULTI LINE COMMENT |  ̃ ‘*/’)* ‘*/’
  ;

R=zundel
BUG=1039
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2964 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 19:59:21 +00:00
zundel@google.com 7ac1417b3d Test fails only in checked mode on vm
http://code.google.com/p/dart/issues/detail?id=943

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2962 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 19:03:30 +00:00
zundel@google.com fc5faa5920 Mark test failing for frog build.
Review URL: http://codereview.chromium.org//9088018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2959 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 18:31:22 +00:00
zundel@google.com 9c6d9fc4de Flag methods as not being valid compile time constants
BUG=1000
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2956 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 18:19:34 +00:00
codefu@google.com d5dbe92233 Issue 991: Missing compiler errors for uninitialized final fields
http://code.google.com/p/dart/issues/detail?id=991
  -Track non initialized fields at declaration for classes
  -Verify they are initialized in non-redirect constructors
  -Check for duplicate final initialization; add tests and mark VM and Frog
   as failing
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2951 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 16:51:55 +00:00
scheglov@google.com 986593e8fa Remove wrong test, issue 575.
http://code.google.com/p/dart/issues/detail?id=575

R=zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2920 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-03 19:38:00 +00:00
sigmund@google.com 396f798124 frog isolate fixes: minor changes to the isolate library + architecture.py
Review URL: http://codereview.chromium.org//8999030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2792 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 22:19:12 +00:00
sigmund@google.com dca0ac9fc1 .status: fix bot after changing 'factory'->'default'
TBR=ahe

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2777 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 18:59:43 +00:00
zundel@google.com 27f2e70854 This adds a unit test to show the type checking functionality missing in dartc
This refines omitting the runtime-type checks in certain cases to just apply to
type variables (original disabled by r2660)

BUG=925
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2771 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 17:45:45 +00:00
zundel@google.com 9d697de426 Updates dartc to recognize 'default' keyword on interface and updated factory method syntax.
Note: this does not have backwards compatibility for the old
factory syntax and updates the tests.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2597 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 22:34:57 +00:00
dgrove@google.com 37c6903d6c Make 'class' and 'extends' into real keywords, per language spec 0.06 .
Review URL: http://codereview.chromium.org//8980014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2595 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 21:24:45 +00:00
ager@google.com 74ec1d7d5e Fix frog testing. I forgot to update the language.status file.
R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2578 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:51:46 +00:00
ahe@google.com ebcc4964e5 Update test of type variable bounds to match specification
Review URL: http://codereview.chromium.org//8956005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2573 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:17:46 +00:00
ahe@google.com 258010fddb Always use --leg_only option.
Review URL: http://codereview.chromium.org//8957008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2567 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 10:07:32 +00:00
sra@google.com 5f1fe934ec Move frog tests using 'native' from tests/language to frog/tests
These tests are critical to dart:dom, but use non-standard features so
should not be under tests/language

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2559 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-17 05:19:38 +00:00
codefu@google.com 3fae5d29a6 Promote class to a reserved word
Promote class as a reserved word http://code.google.com/p/dart/issues/detail?id=870
Cleaning old test that had invalid assumptions; makeing two new tests
(jUnit and shared test).  Marking Frog and VM as failing.

R=mmendez
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2550 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:26:14 +00:00
sra@google.com aa6393b4e8 Fix named constructors and static methods of hidden native classes.
The static methods can't go on the constructor, so they go on a
surrogate object.  Make sure no global names conflict with either the
hidden class's name or the surrogate object.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2547 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 22:49:06 +00:00
sra@google.com f8ea641117 Partial fix for Issue 709.
Method dispatch on a hidden native class goes according to the native
name, not the Dart name (which can be different).

There is still an issue with the hidden name - frog needs to avoid
using it because it might not be inaccessible on all targets.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2511 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 05:52:40 +00:00
jmesserly@google.com 71af5a2680 Fix factories in Frog to correspond to the new syntax.
(Note: this is designed to work against corelib changes in http://codereview.chromium.org/8931011/, but it also works against current checked in corelib) I kept old factories limping along in Frog. We can remove them soon

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2474 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 19:59:52 +00:00
codefu@google.com c5d6f1b773 Adding failure case for Frog: FuntionTypeAlias2Test
R=ahe@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2467 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 14:13:51 +00:00
codefu@google.com e9487a92e4 Expands on previous function RTT to support named/optional parameters.
Issues encountered:
http://code.google.com/p/dart/issues/detail?id=847
http://code.google.com/p/dart/issues/detail?id=848

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2465 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 13:31:32 +00:00
sigmund@google.com 0c903c8de6 update status for frogium
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2460 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 04:31:44 +00:00
sigmund@google.com bfe2649732 frog: better binding of methods.
Review URL: http://codereview.chromium.org//8914024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2457 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 03:59:22 +00:00