scheglov@google.com
1806149f58
Issue 6824. Re-export of conflicting elements is error.
...
http://code.google.com/p/dart/issues/detail?id=6824
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11308173
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15320 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 17:48:48 +00:00
scheglov@google.com
1277895b47
Issue 6836. Using undeclared identifier in static context is now warning.
...
http://code.google.com/p/dart/issues/detail?id=6836
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11280135
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15311 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:18:35 +00:00
smok@google.com
5dba8d6f26
[dart2dart] triage language tests
...
Review URL: https://codereview.chromium.org//11280148
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15283 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 13:21:08 +00:00
ahe@google.com
2d76aefb62
Add a test of non-factory constructors using redirection.
...
Review URL: https://codereview.chromium.org//11418060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15273 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 08:39:00 +00:00
karlklose@google.com
ed86b34f07
Mark test as failing on darc.
...
TBR=ahe@google.com
Review URL: https://codereview.chromium.org//11316147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15262 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 15:05:25 +00:00
karlklose@google.com
cedae29dff
Fix a type annotation in the parser to make it accept non-literal strings as part URIs in checked mode.
...
Review URL: https://codereview.chromium.org//11412147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15259 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 14:46:49 +00:00
fschneider@google.com
1fe6e5a592
Remove invalid test.
...
The test is invalid since the expected behaviour has changed.
There is already a negative test for the correct behaviour
(tests/language/type_variable_static_context_negative_test.dart)
BUG=dart:643
R=ahe@google.com
Review URL: https://codereview.chromium.org//11308168
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15247 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:08:51 +00:00
regis@google.com
c2b4cccaee
Ambiguous type references require a compile time error in some special cases
...
(fix issue 6741).
Review URL: https://codereview.chromium.org//11348188
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15233 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 00:14:08 +00:00
scheglov@google.com
44c2dbfc4a
Fix dartc status
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15232 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 23:10:42 +00:00
hausner@google.com
5df36f0533
Fix more dart status
...
Review URL: https://codereview.chromium.org//11421042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15229 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 22:40:24 +00:00
hausner@google.com
59ab0c5fb4
Fix dartc status
...
Dartc does not support abstract methods that aren't
explicitly declared abstract.
Review URL: https://codereview.chromium.org//11413128
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15227 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 21:46:35 +00:00
fschneider@google.com
bf1fbb1296
Fix dart2dart and dartc test status for a recently enabled test.
...
BUG=dart:643, dart:1533
Review URL: https://codereview.chromium.org//11415095
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15197 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 12:31:23 +00:00
fschneider@google.com
a16afb4a27
Correct file names for tests in tests/language to run them in test.py.
...
Those tests were previously not run because of the missing _test suffix.
Changed the test expectations for type_variable_shadows_class_test until
it is fixed.
Corrected syntax error in optimized_lists.dart and removed invalid
expectation from mint_arithmetic_test.dart.
Added failing tests to the status file with the corresponding issue #.
Split double_to_string_test into two files where one contains all the
ones failing with dart2js.
BUG=dart:643,dart:1533
Review URL: https://codereview.chromium.org//11316108
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15193 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 11:15:36 +00:00
scheglov@google.com
62f9fea6ab
Issue 6283. Support type literals as expressions.
...
http://code.google.com/p/dart/issues/detail?id=6283
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11316096
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15173 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 18:59:53 +00:00
karlklose@google.com
d2dbd01a0f
Support type literals as compile-time constants.
...
Review URL: https://codereview.chromium.org//11299009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15154 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 15:43:27 +00:00
lrn@google.com
22309b260c
Remove NullPointerException.
...
Accessing non-existing members on null now throws NoSuchMethodError.
Throwing a null value fails by throwing a NullThrownError.
Methods checking for null now generally throw new ArgumentError(null).
Committed: https://code.google.com/p/dart/source/detail?r=15061
Review URL: https://codereview.chromium.org//11415028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15136 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 09:21:52 +00:00
lrn@google.com
0c8dce77f1
Revert "Remove NullPointerException."
...
Crashes in the x64 VM.
Review URL: https://codereview.chromium.org//11417058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15065 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 09:59:59 +00:00
lrn@google.com
e211c2f0ee
Remove NullPointerException.
...
Accessing non-existing members on null now throws NoSuchMethodError.
Throwing a null value fails by throwing a NullThrownError.
Methods checking for null now generally throw new ArgumentError(null).
Review URL: https://codereview.chromium.org//11415028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15061 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 08:51:49 +00:00
ahe@google.com
e004d21e19
Fix a couple of bugs in handling of factory redirections.
...
Review URL: https://codereview.chromium.org//11312245
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14940 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-15 06:34:50 +00:00
hausner@google.com
7eb3efc2ba
Fix native argument handling
...
Native functions need to fetch arguments differently if they are
called through a closure.
fixes issue 6696.
Review URL: https://codereview.chromium.org//11293290
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14937 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-15 01:14:01 +00:00
regis@google.com
8af5f5e418
Fix result type checking of redirecting factory in checked mode (issue 6596).
...
Review URL: https://codereview.chromium.org//11404004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14916 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 19:56:39 +00:00
lrn@google.com
87eec0ef1f
Revert "Exception no longer an interface."
...
Broke more than expected.
TBR=floitsch@google.com
Review URL: https://codereview.chromium.org//11364216
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14848 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 14:04:19 +00:00
lrn@google.com
def3ee60a5
Exception no longer an interface.
...
Some tests disabled due to dartbug.com/6697
Review URL: https://codereview.chromium.org//11365226
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14847 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 13:42:51 +00:00
ngeoffray@google.com
7e53cbe71e
Update test expectations for dart2dart and drt.
...
Review URL: https://codereview.chromium.org//11366219
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14846 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 13:18:50 +00:00
ngeoffray@google.com
a742983dd5
Start new design for interceptors and implement String.charCodeAt with it.
...
Review URL: https://codereview.chromium.org//11365170
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14845 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 12:59:53 +00:00
lrn@google.com
e6221b1278
Set VM language/gc_test to "Pass, Fail".
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//11361215
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14782 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 10:10:46 +00:00
scheglov@google.com
d27580a5ca
Issue 6578. Report warning, not error for static/instance getter/setter mismatch
...
http://code.google.com/p/dart/issues/detail?id=6578
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11358187
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14772 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-10 00:43:05 +00:00
johnniwinther@google.com
5cacad7264
Report errors on duplicate export.
...
Review URL: https://chromiumcodereview.appspot.com//11360149
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14737 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 12:32:58 +00:00
hausner@google.com
be175c758e
Implement const expressions for local variables
...
Review URL: https://codereview.chromium.org//11265047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14716 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 00:19:43 +00:00
scheglov@google.com
322c76d6a9
Issue 6560. Report error when generative constructor calls factory constructor.
...
http://code.google.com/p/dart/issues/detail?id=6560
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11368132
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14685 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 15:49:38 +00:00
floitsch@google.com
6e371518ad
Update status files.
...
Review URL: https://codereview.chromium.org//11362143
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14648 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 19:31:53 +00:00
ahe@google.com
8b9009efe7
Update status files
...
Review URL: https://codereview.chromium.org//11369118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14631 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 16:18:03 +00:00
ahe@google.com
03ebf05e22
Implement redirecting constructors.
...
Review URL: https://codereview.chromium.org//11365108
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14630 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 15:32:39 +00:00
hausner@google.com
8c10c259e3
Fix dart2dart status
...
Review URL: https://codereview.chromium.org//11362129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14610 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 01:18:00 +00:00
hausner@google.com
c062b5c391
Introduce static warning test for static/instance mismatch
...
TBR=ahe
Review URL: https://codereview.chromium.org//11275179
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14606 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 00:34:12 +00:00
hausner@google.com
323c735040
Make sure setter does not conflict with method
...
Review URL: https://codereview.chromium.org//11312109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14600 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 22:51:01 +00:00
hausner@google.com
7dbd63a6af
Eliminate faulty override test
...
Fix issue 3859
Review URL: https://codereview.chromium.org//11359070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14587 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 18:57:34 +00:00
hausner@google.com
99c505e9b3
Fix various inheritance bugs
...
Fields can be overridden by subclasses
A setter does not conflict with a method
Eliminate outdated tests
Fixes issue 6482
Review URL: https://codereview.chromium.org//11312095
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14583 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 17:54:27 +00:00
scheglov@google.com
1d310ff72c
Report error for deprecated #library #import #source
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11366078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14535 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:21:20 +00:00
karlklose@google.com
323d8f6a9c
Support class and typedef literals as expressions.
...
For a class C, the expression 'C' returns the canonicalized instance of Type for this class. If C has type variables, they are instantiated with 'dynamic'.
Review URL: https://codereview.chromium.org//10942028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14515 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 09:29:51 +00:00
hausner@google.com
95c79712da
Make library, import, export, part pseudo-keywords
...
Resubmit cl 14446 after Ivan's keyword table fix.
Review URL: https://codereview.chromium.org//11367069
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14500 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 20:30:08 +00:00
hausner@google.com
e4880d6698
Revert cl 14446
...
Review URL: https://codereview.chromium.org//11293054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14448 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 00:19:48 +00:00
hausner@google.com
4c6b490ab8
Make library, import, export, part built-in identifiers
...
Review URL: https://codereview.chromium.org//11360051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14446 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:47:25 +00:00
gram@google.com
981c4b11df
Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
...
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
gram@google.com
504b13a80e
Fix test statuses of some tests that were marked as Fail but now pass as we
...
support new library syntax.
Review URL: https://codereview.chromium.org//11293048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14439 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 22:15:38 +00:00
scheglov@google.com
be6aa334b0
Issue 5987. Report error if static const references instance const.
...
http://code.google.com/p/dart/issues/detail?id=5987
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11275093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14421 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 17:59:48 +00:00
lrn@google.com
762d2dc493
Fix analyzer test-expectations.
...
TBR=karlklose@google.com
Review URL: https://codereview.chromium.org//11298003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14394 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 11:35:56 +00:00
hausner@google.com
67d17227d1
Redirecting constructor may not have function body
...
Adding a test case and consolidating 3 other tests into the new one.
Issue 2030.
Review URL: https://codereview.chromium.org//11293020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14376 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 22:27:34 +00:00
hausner@google.com
29c1668cb9
Prevent mutation of final variables
...
Fixes issue 4328
Review URL: https://codereview.chromium.org//11363012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14366 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 19:43:44 +00:00
regis@google.com
ec09038e82
Remove references to ObjectNotClosureException and ClosureArgumentMismatchException
...
from the VM (issue 6124).
These are replaced with NoSuchMethodError for now (work in progress).
Review URL: https://codereview.chromium.org//11312019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14362 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 18:13:12 +00:00