Commit Graph

3219 Commits

Author SHA1 Message Date
kasperl@google.com 40fa758493 Update status files for Safari and Firefox. Tests now pass!
TBR'ed.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18745 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 12:02:40 +00:00
hausner@google.com 02015555e2 Fix co19 status file
Bug 5840 is actually not a dart vm issue but a co19 test issue.
Filed co19 issue 383 and corrected status file.

TBR=tball
Review URL: https://codereview.chromium.org//12303037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18726 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 21:29:05 +00:00
ngeoffray@google.com cd3d08d752 Tests now pass on dart2dart because of: https://codereview.chromium.org//12288041.
Review URL: https://codereview.chromium.org//12302026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18690 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 15:19:17 +00:00
floitsch@google.com ecce8a6293 Remove deprecated Strings class.
Review URL: https://codereview.chromium.org//12295014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18686 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 13:57:03 +00:00
ngeoffray@google.com 21a2a4ff8a Fix dart2dart.
Review URL: https://codereview.chromium.org//12302024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18678 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 12:46:52 +00:00
ngeoffray@google.com f3b8011c60 It's not allowed to have an initializer for a final field that is initialized where it's declared.
Review URL: https://codereview.chromium.org//12288041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18672 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 11:51:01 +00:00
lrn@google.com b38b6690f7 Mark co19-test as failing for analyzer.
Behavior has changed to make the test have static warnings.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18670 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 10:55:10 +00:00
kasperl@google.com b24abfb57a Turn error into warning for non-static member access through the class.
Make sure 'abstract fields' are treated as instance members so
they get mixed in when applying mixins.

R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18661 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 09:31:53 +00:00
johnniwinther@google.com d131b63163 Handle malformed types in catch-on.
BUG=http://dartbug.com/8325

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18652 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 06:57:19 +00:00
johnniwinther@google.com 16b104c6f9 Take type arguments into account in interface type subtype check.
BUG=http://dartbug.com/7342

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18651 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 06:40:31 +00:00
ngeoffray@google.com 13ec901057 Update status file.
Review URL: https://codereview.chromium.org//12297014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18619 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-18 12:50:13 +00:00
lrn@google.com ecbf4478c2 Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12212211

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18573 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:07:22 +00:00
lrn@google.com c3e2eace1e Revert "Reapply "New implementation of {,Linked}Hash{Set,Map}.""
Breaks pub, which apparently contains concurrent modifications of a
HashMap.

Spurious error in:
 pkg/analyzer-experimental/test/generated/ast_test/test_literal_map
Seems to be an error in the analyzer.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18569 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 10:06:49 +00:00
lrn@google.com 9d8aca9e45 Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12254006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18566 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 09:18:36 +00:00
floitsch@google.com adb99d0107 Deprecate comparison operators of DateTime.
Review URL: https://codereview.chromium.org//12221094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18543 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 22:00:36 +00:00
lrn@google.com 6e0d6462ce Revert "New implementation of {,Linked}Hash{Set,Map}."
Triggers assertion in VM debug mode.
Seems to have some bug or difference that affects dart2dart.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18442 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 12:40:12 +00:00
lrn@google.com 6ad0b78818 New implementation of {,Linked}Hash{Set,Map}.
Accepts null keys/entries.
Much faster LinkedHashMap, faster HashSet, slight penalty on HashMap,
possibly due to accepting null keys.
Performance difference depends on table size.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18437 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 09:51:50 +00:00
karlklose@google.com 759bf01d3c Implement substitution for type variables.
Review URL: https://codereview.chromium.org//12218007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18376 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 11:20:50 +00:00
karlklose@google.com 12840df1fe Revert "Implement substitution for type variables."
This reverts commit r18124.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18125 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 10:40:47 +00:00
karlklose@google.com 074335268f Implement substitution for type variables.
This change does not yet address the case where there is more than one substitution, as in this example:

class S<X> {}
class S1 extends S<int> {}
class S2 extends S<double> {}
class T implements S1, S2 {}

main() {
  new T() is S<int>;
  new T() is S<double>;
}

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18124 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 10:23:13 +00:00
johnniwinther@google.com b83a499aa6 Revert "Take type arguments into account in interface type subtype check."
This reverts commit r17912.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17915 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:58:23 +00:00
johnniwinther@google.com 8171115947 Take type arguments into account in interface type subtype check.
BUG=http://dartbug.com/7342

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17912 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:40:41 +00:00
johnniwinther@google.com 9e6659ab52 Implement Types.isSubtype for FunctionType with optional and named parameters.
Review URL: https://codereview.chromium.org//12087052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17832 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 10:46:10 +00:00
ricow@google.com 9b97bd3076 Correctly mark Slow tests as Pass, Slow
Review URL: https://codereview.chromium.org//11953081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17578 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 16:30:34 +00:00
ricow@google.com 9769301b87 Mark co19/LibTest/core/Map/Map_class_A01_t04 as slow
This timed out:
http://build.chromium.org/p/client.dart/builders/dart2js-linux-jsshell-release-4-4/builds/468/steps/dart2js%20tests%20failures/logs/stdio

And had running times really close to 1 minute on several other runs.
Review URL: https://codereview.chromium.org//11953080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17575 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 14:57:34 +00:00
scheglov@google.com 321bcf58e4 Issue 7597. Use foo= when setter requested, even if there is method foo().
http://code.google.com/p/dart/issues/detail?id=7597

Language/07_Classes/3_Setters_A04_t04
Language/07_Classes/4_Abstract_Instance_Members_A02_t01
are not changed because they are part of huge list of tests which promis to don't have static type errors, but have them.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17520 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 05:15:39 +00:00
iposva@google.com 57f62dd2e1 - Make sure we can "run" all tests using simarm/simmips.
Review URL: https://codereview.chromium.org//12042065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
scheglov@google.com 1bf84876fc Issue 7598. Skip metadata when parse directives for LibraryUnit.
http://code.google.com/p/dart/issues/detail?id=7598

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17485 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 18:08:47 +00:00
scheglov@google.com b806f5f3f9 Issue 7884. Use UTF-8 for output.
http://code.google.com/p/dart/issues/detail?id=7884

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17475 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:31:47 +00:00
scheglov@google.com 761ea9993f Issue 8025. Disallow mixing in classes that have constructors.
http://code.google.com/p/dart/issues/detail?id=8025

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17473 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:26:46 +00:00
scheglov@google.com 678706642f Skip co19 tests causing test framework crash.
http://code.google.com/p/dart/issues/detail?id=8045

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17423 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:08:16 +00:00
hausner@google.com dc3bf6646a Stop supporting map literals with 1 type argument
To be checked in next week Tue (Jan 22)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17410 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 16:48:00 +00:00
floitsch@google.com 739d0fbbd3 Update status file.
Review URL: https://codereview.chromium.org//12042008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17357 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 14:13:46 +00:00
floitsch@google.com 1febeb689a Move some core classes to collection library.
Review URL: https://codereview.chromium.org//11867024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17352 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 13:34:02 +00:00
ngeoffray@google.com 736889851a Move relational operators to the new interceptors.
Review URL: https://codereview.chromium.org//12042003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17340 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 11:21:43 +00:00
ngeoffray@google.com 1d0e8af018 Tests now pass.
Review URL: https://codereview.chromium.org//11926012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17253 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 09:12:18 +00:00
ngeoffray@google.com 81d5166a7a Update status files while investigating.
Review URL: https://codereview.chromium.org//11929018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17252 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 09:02:37 +00:00
ahe@google.com f42b735a0e Correctly implement co19 test suite.
Review URL: https://codereview.chromium.org//11881053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17204 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 13:40:21 +00:00
ngeoffray@google.com 902f89f73f Update status file, and how we recognize a NPE: since drt does not set the "type" property of an exception, unlike v8, we were not recognizing that "Cannot call method 'operator$not$0' of undefined" was an NPE.
Review URL: https://codereview.chromium.org//11876039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17059 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 11:24:26 +00:00
ngeoffray@google.com 184a9f610a Support Timer with 0 millisecond delay in dart2js running in the command line.
Review URL: https://codereview.chromium.org//11866003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16968 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:02:58 +00:00
kasperl@google.com 609203c814 Stop passing library elements to tons of namer functions.
Whenever we have to "invent" a library reference there's a
good chance that we get it wrong (because of inlining, etc.)
which messes up our privacy implementation.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16963 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 11:23:07 +00:00
kustermann@google.com 96574ee329 Status file updates for jsshell
Review URL: https://codereview.chromium.org//11833035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16920 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 14:16:37 +00:00
johnniwinther@google.com 47343b3530 Report errors on repeated interfaces.
BUG=http://dartbug.com/7468

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16900 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 07:03:05 +00:00
johnniwinther@google.com 3a723aba8f Report arity errors on user definable operators.
BUG=http://dartbug/7149

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16853 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 14:29:31 +00:00
ahe@google.com 6b11e3ec5a More cuddling dart2js checked mode.
Review URL: https://codereview.chromium.org//11773043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16801 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 14:37:58 +00:00
floitsch@google.com 0f584d1ace Move test to checked version.
Review URL: https://codereview.chromium.org//11782013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16720 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 16:01:49 +00:00
floitsch@google.com b3e1c608c1 Update co19 status file for dart2dart in checked mode.
Review URL: https://codereview.chromium.org//11791022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16713 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:38:52 +00:00
floitsch@google.com f1b4a245f8 Update co19 status files and some small fixes.
Review URL: https://codereview.chromium.org//11773026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16710 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:28:42 +00:00
ager@google.com 6f45a61404 Update status files for dartc (utils, co19).
Marking the utils ones as pass,fail because they pass on
the analyzer.

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16709 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:18:49 +00:00
karlklose@google.com 126820a65f Mark tests that use Timer as failing on dart2js.
There is no implementation for Timer in JavaScript.

R=floitsch@google.com
BUG=dartbug.com/7728

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16697 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 13:39:09 +00:00