hausner@google.com
9e690fc833
Fix dartc build
...
Fails the enhanced pseudo keyword tests
TBR=mmendez
Review URL: http://codereview.chromium.org//9213007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3306 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 19:49:34 +00:00
hausner@google.com
197348daa2
Fix frog build
...
Doesn't handle pseudo kw right.
Review URL: http://codereview.chromium.org//9174011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3305 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 19:41:33 +00:00
hausner@google.com
343dff6255
Proper handling of built-in identifiers
...
Allow pseudo-keywords (built-in identifiers) as regular identifiers for anything but class names, interface names, typedef names.
Still todo: Update blacklist of class/interface names, disallow pseudo-keywords as type parameter names.
Review URL: http://codereview.chromium.org//9107070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3303 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 19:24:50 +00:00
jimhug@google.com
28c673ef01
fix issue 1110 (handle void better)
...
Review URL: http://codereview.chromium.org//9188048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3254 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:11:09 +00:00
jimhug@google.com
d2355eac57
fix language.status
...
This was broken in cl3234 as the result of a bad git merge on my part. This should fix the build issues on the frogium firefox bot.
Review URL: http://codereview.chromium.org//9187054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3244 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 17:10:27 +00:00
jimhug@google.com
0f72237277
fix pseudo keyword test failues
...
Review URL: http://codereview.chromium.org//9139062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3240 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:10:31 +00:00
jimhug@google.com
81ad600703
fixed
...
more fails
BUG=
TEST=
Review URL: http://codereview.chromium.org//9187050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3235 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:14:29 +00:00
jimhug@google.com
c2564f534d
fix issue 356 by making test match spec
...
Review URL: http://codereview.chromium.org//9147006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3234 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:01:26 +00:00
lrn@google.com
c2f0cef15f
Allow for-in to use a previously declared identifier as variable.
...
Review URL: http://codereview.chromium.org//9139014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3229 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 07:56:13 +00:00
jimhug@google.com
fd09f522c5
fix Library*NegativeTests (and a couple Prefix ones by accident)
...
In general, this change felt fine to make in frog; however, it felt REALLY ugly to make the required fixes to the dartdoc tests. I suppose this just raises the priority of our packaging and library story.
Review URL: http://codereview.chromium.org//9107031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3222 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:20:23 +00:00
sigmund@google.com
8139db7ae4
bots: include webdriver tests in bots.
...
Review URL: http://codereview.chromium.org//9188012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3206 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 20:48:33 +00:00
jimhug@google.com
3130910ae0
Updates language.status to reflect the invalid status of issue #354 . Also adds comments to the test cases to help clarify their intended behavior for future readers.
...
Review URL: http://codereview.chromium.org//9139020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3202 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 19:37:00 +00:00
ahe@google.com
055a4b26f1
Generate elements for interfaces and nodes for supertypes.
...
Review URL: http://codereview.chromium.org//9107010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3200 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 19:07:42 +00:00
codefu@google.com
159f4dccf8
Issue 1091: Static type warning for setters with non-void return types
...
http://code.google.com/p/dart/issues/detail?id=1091
Spec 0.06 section 7.3 Setters
R=zundel
BUG=
TEST=
Review URL: http://codereview.chromium.org//9188004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3196 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 17:51:52 +00:00
ahe@google.com
5c477d0ba1
Cancel the compilation if the SSA builder attempts to visit a type annotation.
...
Review URL: http://codereview.chromium.org//9185010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3191 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 16:14:07 +00:00
ahe@google.com
dea93d6568
Record names of constructors and use that to implement Object.toString.
...
Review URL: http://codereview.chromium.org//9114053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3183 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 14:03:21 +00:00
karlklose@google.com
07745506fd
Implement super calls.
...
TEST=tests/leg_only/src/SuperCallTest.dart, ResolverTest.testSuperCalls.
Review URL: http://codereview.chromium.org//9166010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3181 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 13:46:26 +00:00
ngeoffray@google.com
cca16663b3
Forgit this file in last commit.
...
Review URL: http://codereview.chromium.org//9107005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3179 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 10:37:21 +00:00
antonm@google.com
8f2e04904c
Remove suppression.
...
BUG=1113
Review URL: http://codereview.chromium.org//9167016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3159 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 18:22:28 +00:00
zundel@google.com
568329fe06
Disallow assignment to a top level method in dartc
...
http://code.google.com/p/dart/issues/detail?id=966
Review URL: http://codereview.chromium.org//9158014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3154 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 16:39:21 +00:00
antonm@google.com
868ea7c3cd
Do not set debug Dart flags when running the test.
...
BUG=1113
Review URL: http://codereview.chromium.org//9147032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3149 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 15:41:57 +00:00
ahe@google.com
73bb4430ec
language/Unary2Test is flaky on Dartium.
...
Review URL: http://codereview.chromium.org//9166005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3134 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 11:40:56 +00:00
ngeoffray@google.com
b98e31df25
Looking at the selector was wrong initially. Keep the TODO but just use the target (which is the fied currently because we don't have setters).
...
Review URL: http://codereview.chromium.org//9169008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3132 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 10:09:46 +00:00
ahe@google.com
8f48ea94c5
Nested comments.
...
Review URL: http://codereview.chromium.org//9146011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3131 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 08:38:12 +00:00
ahe@google.com
37af5fb7db
Better error recovery.
...
Review URL: http://codereview.chromium.org//9158001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3130 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 08:36:02 +00:00
regis@google.com
5a11b9b3ad
A class/interface cannot implement/extend a type parameter (issues 886 and 887).
...
Added tests.
Review URL: http://codereview.chromium.org//9153006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3122 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 00:01:47 +00:00
zundel@google.com
a7b543760e
TryCatch8NegativeTest looks like it is out of sync with the spec, other TryCatch?NegativeTest cases have outdated or illegal syntax other than the true object of the test.
...
Review URL: http://codereview.chromium.org//9162001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3115 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 22:14:08 +00:00
jimhug@google.com
b2b7cb0f6f
running presubmit
...
review suggestions
BUG=
TEST=
Review URL: http://codereview.chromium.org//9151015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3114 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 22:01:16 +00:00
ngeoffray@google.com
87a48c0bc0
Update test expectatins after implementing bailout on parameters.
...
Review URL: http://codereview.chromium.org//9151005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3106 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 17:46:36 +00:00
zundel@google.com
69b567e798
in dartc, generics in Typedef not working as expected, when extending generic type
...
http://code.google.com/p/dart/issues/detail?id=436
Review URL: http://codereview.chromium.org//9049016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3103 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 17:06:37 +00:00
scheglov@google.com
01abdc883f
Blacklist types from core library, issue 969
...
http://code.google.com/p/dart/issues/detail?id=969
R=zundel@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9124006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3102 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 16:36:04 +00:00
jimhug@google.com
1dd7a8484c
continued cleanup of initialization and Value
...
Less code, more tests passing... EvaluatedValue and MethodGenerator.evalBody are both in the right direction but will be evolving fairly rapidly to get to a fully cleaned up state.
Review URL: http://codereview.chromium.org//9146001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3077 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 03:42:49 +00:00
jimhug@google.com
154e4ce2d2
Fixes 2 tests and a crash - while cleaning up EvaluatedValue
...
Another step towards cleaning up the use of Value. Greatly reduced use of .dynamic and slowly increasing modularity of code for handling consts by moving it into the constant Values themselves. Apologies for the ugliness of added parens around ALL numeric constants - but this did simplify several parts of the code while fixing a couple of broken tests. I'm confident this step back in readability won't last out the weekend (though I'm not telling you which one <smile>).
Review URL: http://codereview.chromium.org//9143001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3076 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-08 00:04:20 +00:00
jimhug@google.com
ab7e321da0
update status file
...
Accidentally fixed a crash <smile>.
Review URL: http://codereview.chromium.org//9127018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3068 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-07 03:26:31 +00:00
jimhug@google.com
81c2ca4ff5
cleanup to Value - fix for StringEscapesTest
...
Motivation of this change was cleaning up value.dart. This also led to finally handling parsing and escaping string literals in a rational way - which accidentally fixed a test. This is intended to setup a future change that can simplify EvaluatedValue hopefully dramatically. Changes to await were required due to refactoring of tree.
Review URL: http://codereview.chromium.org//9121025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3067 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-07 03:07:34 +00:00
iposva@google.com
2cfa7066ba
- Update status file.
...
Review URL: http://codereview.chromium.org//9120013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3059 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 22:02:49 +00:00
iposva@google.com
d09c5a4bfe
Fix broken tests:
...
- For compilation to trigger a method has to be called.
- operator [] is not allowed in compile time constants.
- Trigger --compile_all for added verification.
Review URL: http://codereview.chromium.org//9121014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3058 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 21:45:36 +00:00
ahe@google.com
1d11ece030
AST nodes for function-typed parameters.
...
Review URL: http://codereview.chromium.org//9109015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3031 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 12:24:49 +00:00
lrn@google.com
26d525c702
Fix Leg test failures.
...
Change expectation for test that now succeedes.
Add conservative equality for QuotedString, and stop assuming string HLiterals can compare their .values directly.
Review URL: http://codereview.chromium.org//9126001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3025 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 10:02:40 +00:00
jmesserly@google.com
ff8a1713e4
Support for nested comments
...
Fixes http://code.google.com/p/dart/issues/detail?id=1044
Review URL: http://codereview.chromium.org//9111019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3005 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 18:10:55 +00:00
karlklose@google.com
5a58fe2319
Implement code generation for === and !==.
...
TEST=tests/leg/src/IdentityTest.dart
Review URL: http://codereview.chromium.org//9112012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3004 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 17:15:11 +00:00
floitsch@google.com
edcea7dd21
closure calls (just the invocation part).
...
Review URL: http://codereview.chromium.org//9086010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3003 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 16:27:54 +00:00
ahe@google.com
99d546b97b
Improve error recovery in parser.
...
Review URL: http://codereview.chromium.org//9112008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2998 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 15:07:37 +00:00
ahe@google.com
af4de59113
Detect crashes in frog/leg (when running on VM).
...
Review URL: http://codereview.chromium.org//9111012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2992 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 12:26:20 +00:00
ahe@google.com
262b239804
Don't use Skip in status file
...
Review URL: http://codereview.chromium.org//9114006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2989 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 10:18:11 +00:00
ager@google.com
33a9192da0
Fix incorrect status file syntax.
...
The test.py status parser is doing this wrong. test.dart catches the
problem.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9112005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2985 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 09:52:49 +00:00
jmesserly@google.com
f5774e3f69
Fixes improper boxing in obj.dynamic
...
http://code.google.com/p/dart/issues/detail?id=651
I considered the other fix (omitting the call entirely) but it gets a bit strange if someone overrides Object.dynamic.
Review URL: http://codereview.chromium.org//9111002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2977 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 02:11:02 +00:00
codefu@google.com
dbb10e2cc8
Issue 1039: Nested comments
...
http://code.google.com/p/dart/issues/detail?id=1039
Language Specification 0.06, 14.1.2 specifices that multiline comments can
nest:
MULTI LINE COMMENT:
‘/*’ (MULTI LINE COMMENT | ̃ ‘*/’)* ‘*/’
;
R=zundel
BUG=1039
TEST=
Review URL: http://codereview.chromium.org//9030028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2964 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 19:59:21 +00:00
zundel@google.com
7ac1417b3d
Test fails only in checked mode on vm
...
http://code.google.com/p/dart/issues/detail?id=943
Review URL: http://codereview.chromium.org//9088019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2962 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 19:03:30 +00:00
zundel@google.com
fc5faa5920
Mark test failing for frog build.
...
Review URL: http://codereview.chromium.org//9088018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2959 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 18:31:22 +00:00