Commit Graph

1846 Commits

Author SHA1 Message Date
ricow@google.com 934a6d0277 Update status file to merge vm and dartium suppression for issue 1604.
Review URL: https://codereview.chromium.org//11091064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13527 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 09:37:50 +00:00
ricow@google.com 1a4781de79 Suppress dartium failure on language/test_call.
Review URL: https://codereview.chromium.org//11092070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13512 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 05:54:31 +00:00
efortuna@google.com 81cbd6d83a Tripped up by the two different language.status files. AGAIN.
Review URL: https://codereview.chromium.org//11028124

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13502 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:59:49 +00:00
floitsch@google.com 026b907d2e Register parameter types for closure invocations to the backend.
Submit CL 11091029 on behalf of Nicolas.
https://codereview.chromium.org/11091029

BUG=http://dartbug.com/5744

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13492 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:09:54 +00:00
efortuna@google.com 517b046467 Additional fix to language.status after commit of "Added support for exports and
re-exports"
Review URL: https://codereview.chromium.org//11099043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13487 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 18:33:49 +00:00
johnniwinther@google.com 58586845b0 language.status updated
Review URL: https://codereview.chromium.org//11093051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13482 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:47:24 +00:00
johnniwinther@google.com a7a074c3da language.status updated
Review URL: https://codereview.chromium.org//11085043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13479 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:26:18 +00:00
ahe@google.com be6337249c Update vm status correctly!
Review URL: https://codereview.chromium.org//11087024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13400 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 08:15:21 +00:00
ahe@google.com d1bbcbc8ca Update vm status.
Review URL: https://codereview.chromium.org//11098014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13399 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 07:58:30 +00:00
ahe@google.com 8214500336 Implement part-of directive.
Review URL: https://codereview.chromium.org//11092003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13398 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 07:49:48 +00:00
iposva@google.com 78c30b0775 - Update status files for failing tests.
Review URL: https://codereview.chromium.org//11093013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13387 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 00:47:42 +00:00
regis@google.com 11b767177b Fix language test status for dart2dart and dartc.
Review URL: https://codereview.chromium.org//11068033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13322 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 21:24:55 +00:00
regis@google.com 3a45259cc5 Implement new scope rules for type variables (issue 5230).
Fix tests.
Review URL: https://codereview.chromium.org//11030056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13316 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 20:29:02 +00:00
regis@google.com 1b8e614d7d Change compile-time errors into dynamic errors in instance creation expression
(issue 3085).
Change compile-time errors into dynamic errors in static getter and setter
calls (issues 3088, 3094).
Fix a crash in flow graph builder for missing static getter (issue 4360).
Add support in VM for NoSuchMethodError.
Remove support in VM for StaticResolutionException.
Add, remove, update related language tests.
Triage related co19 tests.
Review URL: https://codereview.chromium.org//11049038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13208 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 00:15:38 +00:00
smok@google.com 60d94cee1a [dart2js] Report an error if throw is used outside of catch expression without an argument.
BUG=5598

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13171 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 11:51:34 +00:00
scheglov@google.com 112281a50e Issue 3968. Report error if cycle in redirecting factory constructors
http://code.google.com/p/dart/issues/detail?id=3968

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13036 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 18:20:57 +00:00
regis@google.com 957be60140 Skip flaky negative tests for factory redirection on dartc (issue 5538).
Review URL: https://codereview.chromium.org//10982083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12987 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 23:34:42 +00:00
iposva@google.com baf87f3a43 Update test expectations:
- Passing tests for dart2dart.
- Failing test for dart2js.
Review URL: https://codereview.chromium.org//10993068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12984 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 22:20:30 +00:00
iposva@google.com b85f604f66 - Implement first class types in the VM.
- Make AbstractType a subclass of Instance and map it and its subclasses
  to private Dart classes in dart:core implementing the Type interface.
- Avoid dispatching through statics in Object if not strictly needed.
Review URL: https://codereview.chromium.org//10979058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12981 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 21:19:00 +00:00
regis@google.com 32e21214af Change dartc test status from Fail to Crash for a newly added test.
Review URL: https://codereview.chromium.org//10986070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12979 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 18:06:04 +00:00
scheglov@google.com a7a4a4411f Issue 5447. Wern when concrete class has unimplemented members
http://code.google.com/p/dart/issues/detail?id=5447

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12977 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 18:01:10 +00:00
regis@google.com ccacc62ec6 Change many instance creation errors from compile-time errors to dynamic errors
per revised spec (issue 3801).
Add negative tests for factory redirection.
Review URL: https://codereview.chromium.org//10979053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12975 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 17:52:35 +00:00
ahe@google.com 1c518f6169 Separate compile-time and runtime errors.
Review URL: https://codereview.chromium.org//10977054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12964 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 14:31:05 +00:00
ngeoffray@google.com 6b3b096ad4 Fix dart2dart bot
Review URL: https://codereview.chromium.org//10984068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12954 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 13:01:15 +00:00
ngeoffray@google.com 04637e33be Fix dartium bots.
Review URL: https://codereview.chromium.org//10982063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12949 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 11:53:05 +00:00
hausner@google.com a241a7bae6 Make throw an expression
Throw e is now an expression rather than a statement. The language
spec says that throw without an expression (i.e. rethrowing the
current exception) is an expression as well. I have not implemented
this. It is rather difficult to determine at expression level whether
the keyword "throw" is followed by an expression or not. Thus,
throw without an expression is only allowed at statement level.

I think we should change the language spec to that effect.
Review URL: https://codereview.chromium.org//10982051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12928 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 20:53:36 +00:00
hausner@google.com f4dd77f9e0 Update status for dartc
Review URL: https://codereview.chromium.org//10990036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12865 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 18:13:22 +00:00
hausner@google.com ffedcb612d Make assert a reserved word
Issue 5051.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12861 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:59:35 +00:00
scheglov@google.com 7f8731cb50 Issue 5292. Unreferenced imported identifiers should not be an error
http://code.google.com/p/dart/issues/detail?id=5292

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12847 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 16:34:48 +00:00
hausner@google.com 8b24cec548 Fix dartium-drt status
Review URL: https://codereview.chromium.org//10983014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12821 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 23:26:25 +00:00
hausner@google.com 6cb96b50e6 Fixium for dartium
Review URL: https://codereview.chromium.org//10982009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12809 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 21:29:31 +00:00
hausner@google.com 01510c327f Fix analyzer status
Review URL: https://codereview.chromium.org//10991002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12806 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 21:09:13 +00:00
hausner@google.com 201bce4219 Support for show/hide combinators
- Add a new VM object called a Namespace.
- A Namespace is a library, and two list of names to hide/show.
- Convert Library and LibraryPrefix to contain Namespace
  objects instead of Libraries in their import list.
Review URL: https://codereview.chromium.org//10967052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12804 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 20:46:56 +00:00
regis@google.com 61297238fb Support redirecting factory constructors in the VM (issue 3969).
Add test (negative tests still missing).
Some more work is needed regarding when to throw a dynamic error and when to
report a compile-time error. Some questions are not answered by the spec.
Review URL: https://codereview.chromium.org//10964058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12791 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 17:28:37 +00:00
antonm@google.com e71177f89d Properly process dart:core classes if dart:core is imported with prefix.
In this case we force prefix omission.  However, there is a twist: when
visit prefix.name form in send visitor later, we cannot tell it from
dynamic invocation and hence to play safe we add platform libs class name
to the set of forbidden names.

Also, most probably we need a proper support for top-level from dart:core.

R=smok@google.com
BUG=5345

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12766 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 10:09:45 +00:00
ngeoffray@google.com 701caab5de Correctly handle const constructors with type parameters.
Review URL: https://codereview.chromium.org//10970006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12697 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 12:45:51 +00:00
antonm@google.com 354e68432a Remove suppression for fixed issue.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12695 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 12:08:34 +00:00
antonm@google.com 7aa87c0e60 Update dart2dart expectations after r12686 "Parse new library syntax."
TBR=ahe@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12689 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 10:39:59 +00:00
ricow@google.com f9a8195533 Suppress Dart2Dart error in language/import_core_prefix_test
This started happening after revision 12673, I filed issue 5345 to track this
Review URL: https://codereview.chromium.org//10970032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12680 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 06:17:27 +00:00
asiva@google.com 51aa46ef86 Fix status file for Dartium.
Review URL: https://codereview.chromium.org//10967031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12678 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 01:28:22 +00:00
asiva@google.com 4140ed9d5b Fix for issue 5223 : Import 'dart:core' implicitly only if it has not been
already explicitly imported in the script.
Review URL: https://codereview.chromium.org//10949028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12673 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:43:08 +00:00
scheglov@google.com 3c4080aff2 Issue 5163. Constructor/member name conflict should be error
http://code.google.com/p/dart/issues/detail?id=5163

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12660 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 21:31:09 +00:00
ricow@google.com 13e6976997 Fix isnot_malformed_type_test by putting the multitest comment on the right line.
Review URL: https://codereview.chromium.org//10966006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12629 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 11:11:50 +00:00
ricow@google.com 4b6a4fd3ef Correctly mark the test failing from revision 12608
This is a multitetst
Review URL: https://codereview.chromium.org//10963003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12618 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 07:28:11 +00:00
ricow@google.com 0237e8d1b1 Update status file for dartc after new test in revision 12608.
I created issue 5315 to track this.
Review URL: https://codereview.chromium.org//10962006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12614 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 06:07:27 +00:00
scheglov@google.com dda26cdfaa Issue 5162. Report error when initializing already initialized final field
http://code.google.com/p/dart/issues/detail?id=5162

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12594 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 19:37:06 +00:00
scheglov@google.com 627f9805df Issue 5232. Type variables are in static scope, but using them is error
http://code.google.com/p/dart/issues/detail?id=5232

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12588 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 18:57:37 +00:00
scheglov@google.com c095d071e9 Issue 5052. Analyzer should treat assert as a keyword
http://code.google.com/p/dart/issues/detail?id=5052

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12566 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 15:30:12 +00:00
ahe@google.com 4908445bb4 Handle null in constructorNameFallback, and update dart2dart status file.
Should make dart2js and dart2dart builds green.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12558 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 13:26:53 +00:00
ahe@google.com 5beb5a8185 Avoid calling user-defined code when reporting checked mode errors and cast errors.
Review URL: https://codereview.chromium.org//10947029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12553 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 12:11:33 +00:00