Commit Graph

57 Commits

Author SHA1 Message Date
scheglov@google.com acca1aaf61 Issue 4543. Use complete Resolver before constants analyzer
http://code.google.com/p/dart/issues/detail?id=4543

This allows us to use resolved Elements for all nodes, without duplicating Resolver functionality.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10902 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 15:58:11 +00:00
ahe@google.com 73f8d23447 Adjust bug number
Review URL: https://chromiumcodereview.appspot.com//10823368

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10842 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 17:05:58 +00:00
ahe@google.com 63cf05a386 Update status file for the analyzer (nee dartc).
Review URL: https://chromiumcodereview.appspot.com//10832344

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10839 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 16:59:35 +00:00
ahe@google.com 4174c7cfcf Update status file for dummy_compiler.
Review URL: https://chromiumcodereview.appspot.com//10836289

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10828 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 16:18:09 +00:00
ricow@google.com d2bcca8b32 Update status for dummy compiler, we don't fail this in checked mode anymore
Review URL: https://chromiumcodereview.appspot.com//10836288

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10820 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 14:01:21 +00:00
ricow@google.com 112185f725 Add slow marker for utils/dummy_compiler_test in checked mode.
Cutting the standard timeout in half caused this to now timeout instead of failing. 
Review URL: https://chromiumcodereview.appspot.com//10837280

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10788 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 05:45:04 +00:00
ricow@google.com 942e3cf4c1 Add a support for a slow marker in status files.
The reasoning for this is that we want to have a sufficiently low
timeout to catch performance regressions, but still want to maintain
the support for having a few tests that takes a longer time to
complete.

This cl adds 2 slow functions, I will add more if any additional tests timeout on the buildbot.
Review URL: https://chromiumcodereview.appspot.com//10854156

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10714 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:55:44 +00:00
smok@google.com 4412f8653f dart2dart Skip non-language tests, leave yaml too.
Review URL: https://chromiumcodereview.appspot.com//10823079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10014 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 13:50:54 +00:00
smok@google.com ac8d991870 dart2dart
Several fixes for more robust renaming of type annotations and Send-s:
Correct renaming of class interfaces with type arguments, renaming
of global functions, constructor and named constructor calls, static
field accesses.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10003 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 05:27:58 +00:00
antonm@google.com 74d17a16f9 dart2dart compiler support.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9880 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 11:20:41 +00:00
sigmund@google.com 2d02962131 disable layout tests in mac or windows(not tested)
TBR=efortuna@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9209 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:30:10 +00:00
sigmund@google.com 25a24b69a5 Adds support for layout tests.
Review URL: https://chromiumcodereview.appspot.com//10683009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9207 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:05:10 +00:00
zundel@google.com 1b7f8307d2 A redirect constructor cannot reference an instance method.
See issue http://code.google.com/p/dart/issues/detail?id=2105

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8685 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 20:32:33 +00:00
ngeoffray@google.com 2cb4416340 Use the typedef arity to know how to invoke a closure given by the dom.
Review URL: https://chromiumcodereview.appspot.com//10441071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8067 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 15:53:54 +00:00
ngeoffray@google.com 5ca4106a51 Skip dart2js/firefox until we fix issue 2615.
Review URL: https://chromiumcodereview.appspot.com//10449049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8045 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:41:29 +00:00
ngeoffray@google.com 3542e0bc07 Status file update to have dart2js/chrome/mac green.
Review URL: https://chromiumcodereview.appspot.com//10459006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8037 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 08:55:40 +00:00
ngeoffray@google.com 21041489fa Implement PrimitiveOrNull types.
Review URL: https://chromiumcodereview.appspot.com//10389063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7537 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 10:25:11 +00:00
nweiz@google.com 3e83522697 Move Yaml into utils/pub.
Review URL: https://chromiumcodereview.appspot.com//10339009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7264 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 23:37:17 +00:00
sigmund@google.com 1dd7f30abc test rename overhaul: step 11 - tests/utils
Review URL: https://chromiumcodereview.appspot.com//10170040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:16:04 +00:00
nweiz@google.com 6d2b52bb73 Add a basic YAML processor. Much of the language is still unimplemented.
Review URL: https://chromiumcodereview.appspot.com//10153004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6971 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:58:56 +00:00
antonm@google.com 9b4efa81c0 Remove now unnecessary suppression.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6891 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 15:34:27 +00:00
ahe@google.com 9eac6a5748 Remove frogsh.
Review URL: https://chromiumcodereview.appspot.com//10164004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6840 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 13:26:06 +00:00
antonm@google.com 63309b3fa1 Suppress utils/Utf8Test on Dartium for now.
TBR=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6787 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 10:11:02 +00:00
ahe@google.com 43a6504688 Add test case for utils/utf8/utf8.dart.
Review URL: https://chromiumcodereview.appspot.com//9190042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6784 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 09:27:26 +00:00
kasperl@google.com 639792f3b8 Update status file.
R=floitsch@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6686 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 13:38:52 +00:00
lrn@google.com 54cab43f3a Reapply "Refactoring if block-information."
Fix error in conditional expression handling.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6684 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 13:16:27 +00:00
floitsch@google.com ddd7475724 Revert "Refactoring if block-information."
This reverts commit 6630.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6635 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 13:29:29 +00:00
floitsch@google.com 2bde3de690 Revert "Don't try to box immutable objects."
This reverts commit 6631.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6632 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 13:20:39 +00:00
floitsch@google.com ccccad3360 Don't try to box immutable objects.
Review URL: https://chromiumcodereview.appspot.com//10091036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6631 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 13:09:44 +00:00
lrn@google.com 567f1e4beb Refactoring if block-information.
Generalizes block information handling and adds (yet unused) info blocks
for if and logical-and/or.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6630 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 13:02:07 +00:00
sigmund@google.com 18d120acdc update status of a couple tests: some configurations are run, but should be
skipped.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6481 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 21:50:23 +00:00
regis@google.com 85e4a9c054 Do not require type class to be finalized when performing a type test.
However, make sure that the interfaces are resolved (issue 2523).
A later change will cleanup interface resolution code.
Review URL: https://chromiumcodereview.appspot.com//10050034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6446 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 00:18:43 +00:00
iposva@google.com ec56bb2c25 Workaround http://dartbug.com/2523 :
- Expect crash when running debug mode DummyCompilerTest.
Review URL: https://chromiumcodereview.appspot.com//10058001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6413 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-11 13:09:43 +00:00
sigmund@google.com cca364ce76 change status files to make it possible to run test.py -c frog,dart2js -r none.
Except for standalone, this mostly skips all other tests. The configurations
frog_none and dart2js_none these have been ignored for now by the bots, enabling
those tests should be done as needed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6382 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:56:37 +00:00
floitsch@google.com f8a6645fce super and this in compile-time constants.
Review URL: https://chromiumcodereview.appspot.com//9753001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5918 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 00:11:17 +00:00
efortuna@google.com c8e35dbeb1 Rename test.dart component to specify compiler + runtime.
Review URL: https://chromiumcodereview.appspot.com//9838068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
ahe@google.com 8b24e17abf Update status file for frog et al
Review URL: https://chromiumcodereview.appspot.com//9834047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5779 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 12:55:28 +00:00
ahe@google.com 24cad52c33 Update status for dartium
Review URL: https://chromiumcodereview.appspot.com//9808059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5778 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 12:51:38 +00:00
ahe@google.com c05551f754 Mark test as failing on dartc
Review URL: https://chromiumcodereview.appspot.com//9837036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5777 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 12:25:40 +00:00
ahe@google.com acff896979 Make dartdoc compile.
Review URL: https://chromiumcodereview.appspot.com//9808019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5776 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 12:17:38 +00:00
ahe@google.com dd96f32250 Rename leg -> dart2js.
Review URL: https://chromiumcodereview.appspot.com//9717033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5636 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 08:36:39 +00:00
floitsch@google.com a4b6cb96d1 Handle compile-time constants to interfaces.
Review URL: https://chromiumcodereview.appspot.com//9717035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5629 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 21:50:43 +00:00
ngeoffray@google.com e72ee6c29a Use the pure Dart implementation of JSON in leg.
Review URL: https://chromiumcodereview.appspot.com//9624023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5157 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 09:44:45 +00:00
ngeoffray@google.com d77308a444 Skip non-client tests on legium.
Review URL: https://chromiumcodereview.appspot.com//9623001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5089 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 13:50:11 +00:00
jacobr@google.com de1d525459 Enable new dart:html wrapperless frog bindings and wrapper dartium bindings.
Split unittest.dart into unittest_html and unittest_dom

Bug fixes to the new dart:html bindings to compile with dartc.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4998 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:30:09 +00:00
rnystrom@google.com dbe7025a5d Fix broken build.
Review URL: https://chromiumcodereview.appspot.com//9581038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4916 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-03 02:16:39 +00:00
rnystrom@google.com 6eb23a639a Unbreak dartc buildbot.
Review URL: https://chromiumcodereview.appspot.com//9589002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4909 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 23:33:27 +00:00
rnystrom@google.com e73822347e Unbreak dartc buildbot.
Review URL: https://chromiumcodereview.appspot.com//9589002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4908 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 23:31:08 +00:00
rnystrom@google.com fa306166d8 Skip dartdoc tests since buildbot can't handle them.
Review URL: https://chromiumcodereview.appspot.com//9583029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4906 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 23:01:40 +00:00
rnystrom@google.com 458908f549 Get dartdoc in the SDK and working correctly.
Review URL: https://chromiumcodereview.appspot.com//9555013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4905 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 22:28:00 +00:00