zundel@google.com
6bd18f8086
Fix name shadowing problem in compiler
...
Names in a scope should create shadow copies of names in enclosing scopes.
BUG=5382396
Review URL: https://chromereviews.googleplex.com/3543020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@147 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 19:17:31 +00:00
fabiomfv@google.com
be8e6320b3
http://b/issue?id=5407575
...
Review URL: https://chromereviews.googleplex.com/3548017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@145 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 18:57:17 +00:00
codefu@google.com
da07089568
DynamicElementImplementation: return dynamic type
...
MemberBuilder: accept broken methods
DeltaAnalyzer: Corelib types
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3531013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@133 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:50:13 +00:00
zundel@google.com
fa609a58ec
Updates the resolver to print the line and column number for name conflicts
...
Along the way I gave the ResoverTest more specific errors to test
against and found some cases that weren't being flagged properly
as errors.
BUG=5415945
Review URL: https://chromereviews.googleplex.com/3544012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@132 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:35:05 +00:00
jgw@google.com
4265230569
Fixes declaration of named-parameter trampoline parameters
...
(to avoid name conflicts with explicit ones).
BUG=5404211
Review URL: https://chromereviews.googleplex.com/3544015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@115 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 12:27:59 +00:00
benl@google.com
7ddf68b7b3
Review URL: https://chromereviews.googleplex.com/3507025
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@112 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 11:19:01 +00:00
ager@google.com
7d4f364d53
Minor changes to documentation generation.
...
Filter out private classes so no file is generated for them.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3540013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@110 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 11:02:55 +00:00
jgw@google.com
e2daa7e89b
Remove support for variadic parameters.
...
Review URL: https://chromereviews.googleplex.com/3528012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@101 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 08:28:42 +00:00
johnlenz@google.com
b2918972e8
Changes to allow the ClosureJsBackend to give people some options to play with:
...
- introduce a "fastDraft" mode that only runs the main code-removal passes and runs in about half the time and but produces code 2x the size (but still less than 10% of the original).
- allows it to run in an quasi-incremential mode by consuming the incrementially generated js (cuts ~4s off the build time but source maps are useless).
- allow source map generation to be turned off (saves a couple seconds).
- turns off not useful check passes and makes the rest switchable.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@91 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 06:41:19 +00:00
johnlenz@google.com
30232ec2c0
Remove more class name references from optimized code. Only removes 800 bytes from swarm.
...
Review URL: https://chromereviews.googleplex.com/3548012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@90 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 05:51:25 +00:00
mmendez@google.com
115fc3df08
Revert "Revert "Eliminate retarded constructors.""
...
This reverts r66 which was a revert of r64. The original commit failed because "optimized" mode builds won't generate NoSuchMethodErrors and that is why the release mode test won't pass. So for that issue, I updated the language.status file.
The client failure appears to be test infrastructure flakiness because my rollback failed but the subsequent build succeeded and I'm unable to reproduce the failure at my desk.
Review URL: https://chromereviews.googleplex.com/3508025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@88 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 02:46:31 +00:00
fabiomfv@google.com
02fc5cc91f
add debugging compiler flags:
...
--human-readable-output : generates readable source code in optimized output.
--disable-type-optimizations : disables type optimizations.
Review URL: https://chromereviews.googleplex.com/3513020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@70 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:40:38 +00:00
mmendez@google.com
ad9389b6ca
Revert "Eliminate retarded constructors."
...
This reverts commit r64.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3530013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@66 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:03:49 +00:00
johnlenz@google.com
661e359d74
Reduce swarm's optimized code size by 10% (480 to 433K) by replace class names with short ids.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@65 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 19:49:41 +00:00
mmendez@google.com
1fae22da51
Eliminate retarded constructors.
...
Modified: Resolver, Normalizer and GenerateJavascriptAST to special case implicit default constructors. Would be simpler if there was a notion of synthetics, but this is not the time to add such a scheme -- if nothing else it would disrupt the IDE.
BUG=4562150
Review URL: https://chromereviews.googleplex.com/3522019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@64 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 19:43:55 +00:00
jgw@google.com
da2581daa9
Fix for classes that are the default factory for multiple other classes/interfaces.
...
BUG=5009110
Review URL: https://chromereviews.googleplex.com/3522018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@47 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:25:25 +00:00
ngeoffray@google.com
a717c9b7c1
Fix library prefixes on top-level elements. Update status file to reflect reality on library prefixes.
...
Review URL: https://chromereviews.googleplex.com/3521018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:13:59 +00:00
dgrove@google.com
977977e6ea
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:00:35 +00:00