asiva@google.com
e4c879018f
Fix build breakage by marking Prefix101Test as a failing test for leg.
...
TBR=hausner
Review URL: https://chromiumcodereview.appspot.com//9404030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4297 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 23:22:17 +00:00
asiva@google.com
592314871c
- Add tests for the new prefix specifications.
...
- Change a negative test to a positive test as it is valid to now have the same prefix in multiple imports.
Review URL: https://chromiumcodereview.appspot.com//9398002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4290 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 20:53:37 +00:00
ahe@google.com
2db35adc8a
Start supporting default classes.
...
Review URL: https://chromiumcodereview.appspot.com//9347045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4282 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 19:31:00 +00:00
ahe@google.com
669f0733b1
Source in most stuff.
...
Review URL: https://chromiumcodereview.appspot.com//9359039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4270 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 16:31:30 +00:00
scheglov@google.com
43878f5c2f
Fix VM test
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4268 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 15:26:01 +00:00
scheglov@google.com
cf2cfb07ca
Tests triage: language
...
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9350056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4266 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 14:48:31 +00:00
ahe@google.com
489caf673d
Ignore typedef
...
Review URL: https://chromiumcodereview.appspot.com//9359044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4264 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 14:09:14 +00:00
floitsch@google.com
c769016700
Also allow type-errors.
...
In checked mode we get TypeErrors. Allow those as well.
Fixes build-breakage.
Review URL: https://chromiumcodereview.appspot.com//9406010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4262 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 13:50:05 +00:00
floitsch@google.com
e554ddf8a0
Throw NoSuchMethod or IllegalArgument on bad operators or bad arguments to
...
binary expressions.
Fixes Issue 1588
Review URL: https://chromiumcodereview.appspot.com//9408001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4260 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 13:25:33 +00:00
kasperl@google.com
371b9e2222
Promote Stephen's InterfaceInheritFieldTest to a language test.
...
Add another test that checks that you can override fields (as spec'ed).
R=ngeoffray@google.com ,ahe@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9406005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4259 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 13:05:24 +00:00
karlklose@google.com
496a24b47e
Create values for literal Strings.
...
Review URL: https://chromiumcodereview.appspot.com//9360039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4254 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 11:40:41 +00:00
ahe@google.com
dd5c820640
Move helpers and interceptors to own library.
...
Review URL: https://chromiumcodereview.appspot.com//9373043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4229 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 15:47:28 +00:00
ngeoffray@google.com
9b098e1d90
Fix 'is' for null.
...
Review URL: https://chromiumcodereview.appspot.com//9358055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4227 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 15:21:34 +00:00
ngeoffray@google.com
603df2f989
Support is!.
...
Review URL: https://chromiumcodereview.appspot.com//9380006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4224 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 14:49:41 +00:00
ngeoffray@google.com
eeeb21f604
Fix bot with status changes.
...
Review URL: https://chromiumcodereview.appspot.com//9348083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4218 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 13:39:48 +00:00
ngeoffray@google.com
ee9b6f1f65
Fix for issue 1623: bind does not work on safari.
...
Review URL: https://chromiumcodereview.appspot.com//9365050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4213 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 12:13:14 +00:00
kasperl@google.com
879cf216d5
Update test expectation for frog.
...
R=floitsch@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9395005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4211 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 10:38:03 +00:00
regis@google.com
f8468f64a8
Disable test added in r4201 and failing for leg.
...
Review URL: https://chromiumcodereview.appspot.com//9388033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4202 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 01:20:21 +00:00
regis@google.com
5933826ae8
Fix context unchaining (issue 5991015).
...
Add test.
Review URL: https://chromiumcodereview.appspot.com//9392020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4201 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 00:58:56 +00:00
floitsch@google.com
8b472681ea
Support getting of static functions.
...
Example:
class A {
foo() => 499;
}
main() { ... var f = A.foo; ... f(); }
Implemented by using the static function as container for the
closure call methods. In JS:
<foo> = function() { return 499; }
<foo>.call$0 = <foo>;
// If necessary add stubs for named arguments on <foo> too.
Review URL: https://chromiumcodereview.appspot.com//9382041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4184 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-13 12:36:08 +00:00
floitsch@google.com
b0693669c0
Allow self-referencing closures.
...
Example:
var f = fib(i) {
if (i < 2) return i;
return fib(i - 1) + fib(i - 2);
};
print(f(5)); // => 5
The only thing we need to do is make the element representing the current closure point to 'this' inside its body.
In the process I had to fix some other minor issues that were triggered by this change.
Review URL: https://chromiumcodereview.appspot.com//9378040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4183 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-13 12:13:09 +00:00
floitsch@google.com
1d0e85ffb6
Support anonymous functions.
...
Review URL: https://chromiumcodereview.appspot.com//9378008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4179 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-13 09:43:32 +00:00
vsm@google.com
3424aff746
Fix status files for Dartium Debug
...
TBR=antonm
Review URL: https://chromiumcodereview.appspot.com//9378027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4152 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 22:44:51 +00:00
efortuna@google.com
f66efa33c3
Fix language.status for ToStringAsFixed under frog (instead of frogsh).
...
Review URL: https://chromiumcodereview.appspot.com//9379020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4147 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 21:54:08 +00:00
ngeoffray@google.com
8af8d85936
Support is checks on primitive types.
...
Review URL: https://chromiumcodereview.appspot.com//9368033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4124 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 09:44:22 +00:00
srdjan@google.com
1d7d76a43b
Optimizing code generator expects that every AST node is traversed once, i.e., the nodes are not reused. Unfortunately this is not the case in assignment operations with arrays (e.g. a[i] += 3).
...
The proper solution would be to clone array and index nodes but that would require too many changes. Long term we can't / won't use AST nodes for optimization purposes.
Short term fix is here: load array and index and release their CodeGenInfo before value is traversed so that the value computation can set its own CodeGenInfo on the same node.
Review URL: https://chromiumcodereview.appspot.com//9373025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4121 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 08:30:53 +00:00
jmesserly@google.com
9918d69710
Update Opera status
...
For now tests are disabled on the bot while we get it working.
Review URL: https://chromiumcodereview.appspot.com//9371037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4109 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:54:29 +00:00
jmesserly@google.com
9df182bc5f
fix status of ExecuteFinally6Test
...
Review URL: https://chromiumcodereview.appspot.com//9372046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4107 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:28:05 +00:00
ngeoffray@google.com
99f2d91e5f
Fully support try/catch.
...
Review URL: https://chromiumcodereview.appspot.com//9370020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4084 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 15:23:49 +00:00
floitsch@google.com
0eafd4c713
Capture this.
...
Review URL: https://chromiumcodereview.appspot.com//9359011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4082 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 15:07:40 +00:00
zundel@google.com
6e9d4c1d6a
Small triage exercise after code generation removed
...
Review URL: https://chromiumcodereview.appspot.com//9371017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4081 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 15:05:06 +00:00
kasperl@google.com
a3c1c4bdfa
Rewrite negative const tests into a few multi tests.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9371014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4076 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 12:16:04 +00:00
kasperl@google.com
36658a8b0f
Rewrite the const constructor negative tests into a single multi test.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9375007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4072 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 09:44:38 +00:00
kasperl@google.com
2d98a6baa3
Rewrite the abstract static negative test to a multi test.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9374014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4070 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 09:30:51 +00:00
kasperl@google.com
42253290ba
Rewrite the negative try-catch tests into a single multi test.
...
R=ngeoffray@google.com ,srdjan@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9372015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4069 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 09:04:10 +00:00
ahe@google.com
25a09e1b2e
One more debug crash
...
Review URL: https://chromiumcodereview.appspot.com//9373018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4067 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 08:40:37 +00:00
ngeoffray@google.com
7bc1d9fc92
Fix for http://code.google.com/p/dart/issues/detail?id=1363 : use the simplename for the key, not the jsname. Conflicts on the jsname will be dealt during emission.
...
Review URL: https://chromiumcodereview.appspot.com//9361030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4066 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 08:33:20 +00:00
efortuna@google.com
0e543d70f0
Update status file for frogium running on the VM.
...
Review URL: https://chromiumcodereview.appspot.com//9360021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4046 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 18:39:55 +00:00
efortuna@google.com
34c061e29e
Reduce flakiness of browser tests.
...
Review URL: https://chromiumcodereview.appspot.com//9361040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4044 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 18:08:13 +00:00
zundel@google.com
1172e2bf77
Remove implicit --optimize from testing dartc component in release mode
...
Review URL: https://chromiumcodereview.appspot.com//9362013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4040 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 16:17:05 +00:00
karlklose@google.com
ae6c175fa3
Implement super initializers.
...
Review URL: https://chromiumcodereview.appspot.com//9327001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4037 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 15:44:46 +00:00
whesse@google.com
9f27aa3a69
Remove unused support files for old version of tools/test.py.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9360017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +00:00
ngeoffray@google.com
0a0ac113cc
Implement try/catch without finally, and without type checks.
...
Review URL: https://chromiumcodereview.appspot.com//9351020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4026 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:23:45 +00:00
ahe@google.com
41f0492cf0
Remove dartc optimizing backend.
...
Review URL: https://chromiumcodereview.appspot.com//9353015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4025 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:22:07 +00:00
efortuna@google.com
e1b6a3c99b
Quick fix for running release VM on frogium tests. (until we get the bots renamed)
...
Review URL: https://chromiumcodereview.appspot.com//9361016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4020 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 02:24:32 +00:00
jmesserly@google.com
214f1d4ac8
For some negative tests, Frog generates invalid JS (bad labels), and this causes bad behavior in webdriver because it never gets the termination signal.
...
Review URL: https://chromiumcodereview.appspot.com//9310097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4017 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 00:44:49 +00:00
hausner@google.com
b43152a477
Fix issue 1246
...
continue; inside a switch statement jumps to outer loop.
http://code.google.com/p/dart/issues/detail?id=1246
Review URL: https://chromiumcodereview.appspot.com//9347032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4013 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 23:27:51 +00:00
zundel@google.com
8fdd07b9fd
This change makes the normal way of running dartc equivalent to running it with what was the --check-only flag. Shared test status files have been updated to run 'green' for now until we can get a special static analysis testing tool in place.
...
The code generation backend is still there behind a flag, but due to be removed.
Review URL: https://chromiumcodereview.appspot.com//9346021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4008 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:00:40 +00:00
hausner@google.com
dfee219860
Fix string escape, recognize escaped newline
...
Fix issue 1350 (http://code.google.com/p/dart/issues/detail?id=1350 )
Review URL: https://chromiumcodereview.appspot.com//9346005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3999 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 16:37:24 +00:00
ahe@google.com
01d8e850bc
Fix NPE in parser.
...
Review URL: https://chromiumcodereview.appspot.com//9349014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3993 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 14:24:00 +00:00