sra@google.com
14549584fd
Add another language test for initializer ordering.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9704049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5538 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 20:23:13 +00:00
floitsch@google.com
7d72f47748
Introduce FieldParameterElement.
...
Review URL: https://chromiumcodereview.appspot.com//9699033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5523 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 15:49:52 +00:00
ngeoffray@google.com
1d6563f365
New try for cl https://chromiumcodereview.appspot.com/9706014/ .
...
Review URL: https://chromiumcodereview.appspot.com//9703057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5515 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 10:11:51 +00:00
kasperl@google.com
a553c64c7f
Allow interpolated strings and adjacent strings to be compile-time constants.
...
R=ngeoffray@google.com
BUG=http://dartbug.com/2110,http://dartbug.com/2127
TEST=
Review URL: https://chromiumcodereview.appspot.com//9700016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5461 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 12:44:17 +00:00
hausner@google.com
63b525bb0e
Revert change 5444
...
Review URL: https://chromiumcodereview.appspot.com//9703004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5448 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 00:35:16 +00:00
hausner@google.com
a995d60106
named optional parameters must not be private
...
Named optional parameters may not start with an underscore '_'.
Fix issue 434 (http://code.google.com/p/dart/issues/detail?id=434 )
Review URL: https://chromiumcodereview.appspot.com//9701001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5444 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 23:24:37 +00:00
regis@google.com
640a7cf409
Mark previously skipped tests as failing with references to new issues.
...
Review URL: https://chromiumcodereview.appspot.com//9692063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5439 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 21:18:09 +00:00
iposva@google.com
9e93428d9e
- Allow string interpolation in constant strings.
...
- Add test for constant adjacent strings with and without interpolation.
- Update status files.
Review URL: https://chromiumcodereview.appspot.com//9694024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5377 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 00:59:17 +00:00
zundel@google.com
02858c27a9
Base test case of a multi-test now insists no static type warnings
...
There were 5 multitests that need adjustment after this change. 4 of them
were trivial changes, so I went ahead and fixed them.
http://code.google.com/p/dart/issues/detail?id=2107
Review URL: https://chromiumcodereview.appspot.com//9664065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5350 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 19:41:07 +00:00
ahe@google.com
a73edef400
Fix ConstructorRedirectTest.
...
Review URL: https://chromiumcodereview.appspot.com//9663065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5326 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 15:50:32 +00:00
floitsch@google.com
b6070fcda7
Compile time constants with fields.
...
Review URL: https://chromiumcodereview.appspot.com//9662037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5323 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 14:38:05 +00:00
floitsch@google.com
d1af7b73c3
Update status file.
...
Review URL: https://chromiumcodereview.appspot.com//9667034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5293 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 01:13:27 +00:00
floitsch@google.com
cc1ac90f53
Update status file.
...
Review URL: https://chromiumcodereview.appspot.com//9664040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5292 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 01:01:26 +00:00
floitsch@google.com
6d852339e1
Update status file.
...
Review URL: https://chromiumcodereview.appspot.com//9665044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5291 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 00:48:20 +00:00
floitsch@google.com
405a8fd912
Update status file.
...
Review URL: https://chromiumcodereview.appspot.com//9668051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5290 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 00:05:18 +00:00
floitsch@google.com
3de0557174
Implement constant maps.
...
Review URL: https://chromiumcodereview.appspot.com//9665001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5289 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-10 23:06:56 +00:00
ngeoffray@google.com
6a6b93b94f
Fix bot.
...
Review URL: https://chromiumcodereview.appspot.com//9664038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5279 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-10 09:55:25 +00:00
mattsh@google.com
e13b59e7cf
Revert "Revert the revert."
...
This reverts commit 6f2615a9e5162ccb5b678a924d5d11ecdadbfff8.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9669019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5272 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-10 00:17:14 +00:00
zundel@google.com
f98d82c284
Update analysis to support adjacent string literals
...
http://code.google.com/p/dart/issues/detail?id=2079
Review URL: https://chromiumcodereview.appspot.com//9666015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5255 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:44:08 +00:00
srdjan@google.com
192565d7a7
BoolTest passes in checked mode (throws TypeError-s correctly). Fix buildbot.
...
Review URL: https://chromiumcodereview.appspot.com//9669011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5252 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:34:14 +00:00
srdjan@google.com
d9e25fbd25
Added logical op tests.
...
Review URL: https://chromiumcodereview.appspot.com//9669007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5249 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:14:33 +00:00
mattsh@google.com
17cf3623f4
Revert the revert.
...
This reverts commit 738ecebb4a1719beda41c17c994bb7b60c4791f7.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9663018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5248 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:05:25 +00:00
zundel@google.com
197c95f1cb
Some use of the new @static-clean and /// annotations in shared tests
...
I'm hoping these will be non-controversial for starters.
Review URL: https://chromiumcodereview.appspot.com//9582027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5237 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 16:26:09 +00:00
kasperl@google.com
c115732065
Update dartc expectations.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9651033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5226 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 10:01:10 +00:00
kasperl@google.com
08dc38774b
Fix broken expectations.
...
I messed up my first attempt. This seems better.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9657027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5220 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 09:05:36 +00:00
kasperl@google.com
3505dceee6
Update test expectations to match reality.
...
TBR'ed.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9655022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5218 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 08:49:34 +00:00
mattsh@google.com
51fe0dab31
revert prior submit
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9649024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5216 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 04:04:27 +00:00
mattsh@google.com
c3a5ab0129
remove node.js dependency by running the frog compiler in
...
DumpRenderTree instead of on node.js
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9610002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5207 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 00:57:29 +00:00
zundel@google.com
aad4709de0
New test exposes some bugs in the static analysis (dartc) engine on assignment problems
...
https://code.google.com/p/dart/source/detail?r=4963
Original review:
http://codereview.chromium.org/9581032/
Review URL: https://chromiumcodereview.appspot.com//9599020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5206 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 00:49:24 +00:00
zundel@google.com
28595b885e
Multitest annotations now accept multiple annotations on one line.
...
Many times a test case involves a static type warning for the
static analyzer and a dynamic type error for the VM or dart
compiled to JS, but not always. Thus, this change introduces
the annotations as allowing multiple outcomes for a test.
Review URL: https://chromiumcodereview.appspot.com//9621015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5191 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 19:33:22 +00:00
jmesserly@google.com
4cbd0a8a8e
fix #resource tag in browser tests. Now ResourceTest passes :)
...
Review URL: https://chromiumcodereview.appspot.com//9448001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5166 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 12:38:21 +00:00
mattsh@google.com
d8af601ce4
removed unused 'prefix' line from status files
...
Review URL: https://chromiumcodereview.appspot.com//9621003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5101 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:10:57 +00:00
antonm@google.com
216dae7261
Remove test suppressions for test which are passing now.
...
StyleSheetList.item is obvious. I am more surprised with isolate test started to pass.
Review URL: https://chromiumcodereview.appspot.com//9624002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5096 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 14:50:23 +00:00
regis@google.com
315ad5d30a
Fix frog and friends build by skipping 3 tests that are broken and need support
...
for multiple error annotations. These are skipped in dartc as well.
Review URL: https://chromiumcodereview.appspot.com//9600071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5065 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 03:14:09 +00:00
regis@google.com
f4ddc43cdf
Generate dynamic type errors according to spec.
...
Fix a few bad tests.
Turn a couple negative tests in multi-tests.
Triage a few co19 failing tests.
Still to do:
Check bounds of generic types at runtime in checked mode.
Stop reporting bounds error in new operator as a compile time error.
Review URL: https://chromiumcodereview.appspot.com//9615035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5064 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 02:23:12 +00:00
zundel@google.com
a7669d35cc
Type assignment errors should be static type warnings, not compile-time errors
...
http://code.google.com/p/dart/issues/detail?id=1939
Review URL: https://chromiumcodereview.appspot.com//9605024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5053 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 20:58:56 +00:00
iposva@google.com
0d57413abb
- Fix Dartium tests.
...
Review URL: https://chromiumcodereview.appspot.com//9553006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4996 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:13:11 +00:00
iposva@google.com
8d86287bc6
- Fix test name.
...
Review URL: https://chromiumcodereview.appspot.com//9554005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4993 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:03:50 +00:00
iposva@google.com
33d6e58134
Added test for issue 1882:
...
- Make sure that we can disable library privacy for testing.
Review URL: https://chromiumcodereview.appspot.com//9568016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4988 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 23:08:53 +00:00
zundel@google.com
6ad9f84212
Revert "New test exposes some bugs in the static analysis (dartc) engine on assignment problems" r4963
...
Some of the VM builds broke, and since I can't reproduce the break
locally, I'm backing out.
Review URL: https://chromiumcodereview.appspot.com//9600026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4966 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 18:12:24 +00:00
zundel@google.com
2e9748c13d
New test exposes some bugs in the static analysis (dartc) engine on assignment problems
...
http://code.google.com/p/dart/issues/detail?id=1957
Review URL: https://chromiumcodereview.appspot.com//9581032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4963 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 17:38:13 +00:00
zundel@google.com
ab603367c0
Update test.dart for detection output of machine formatted errors
...
This change causes the 'dartc' tests to be more sensitive to the difference
between a static type error and a compilation error. Instead of
relying on the return value from the test being 0 or non zero, the
code now turns on '--error_format machine' and checks type
error level 'ERROR' or 'WARNING' and the type of error for
'STATIC_TYPE' if there is a static type error. A new annotation
format adapted from multitests is introduced for standard test cases:
int foo = "hello"; /// static type error
The above annotation means that a static type error is expected.
Currently enforcement is very lenient. There must be at least as
many STATIC_TYPE error messages as there are '/// static type error'
annotations (and no ERROR level messages.)
Review URL: https://chromiumcodereview.appspot.com//9559007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4895 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 18:50:09 +00:00
regis@google.com
6737e03dc2
Next attempt at making frog happy.
...
(I gave in and built/installed nodejs on my workstation)
Review URL: https://chromiumcodereview.appspot.com//9562033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4836 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 22:30:25 +00:00
regis@google.com
c9147ab516
Second attempt at making frog happy.
...
Review URL: https://chromiumcodereview.appspot.com//9568035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4829 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 21:39:55 +00:00
regis@google.com
2f4f73b9f2
Fix frog build (failures on new tests in unchecked mode only).
...
Review URL: https://chromiumcodereview.appspot.com//9568030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4822 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 20:36:46 +00:00
regis@google.com
72529efec7
Check type argument bounds of interfaces in type tests (work in progress).
...
Add a new test.
Fix broken tests.
Review URL: https://chromiumcodereview.appspot.com//9565016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4819 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 19:54:19 +00:00
efortuna@google.com
681a96b43b
Test added in r4799 breaks in Safari, FF, and IE.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9567014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4814 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 18:37:54 +00:00
regis@google.com
47724a8491
Add support for malformed types and postpone some related errors from compile
...
time to execution time.
Still to do (once spec is clarified):
- properly handle generic type bounds errors
- properly handle 'instance of' type checks involving malformed types
- fix bad tests
Review URL: https://chromiumcodereview.appspot.com//9515011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4732 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 02:14:18 +00:00
zundel@google.com
4ec3b6bd97
Sorts the dartc portion of the language.status file
...
Review URL: https://chromiumcodereview.appspot.com//9508003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4715 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 18:09:47 +00:00
floitsch@google.com
fed4bb09ae
Update status file.
...
Fixes build-breakage.
Review URL: https://chromiumcodereview.appspot.com//9496008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4684 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 14:02:28 +00:00