Commit Graph

365 Commits

Author SHA1 Message Date
gbracha@google.com b2c1255be8 Clarify that sttaic getters that pair with instance setters cause warnings even if they are implicit and vice versa.
Review URL: https://codereview.chromium.org//42513003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29227 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 00:43:19 +00:00
gbracha@google.com 7ba09adde9 Revert setters for final variables.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29131 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 21:54:53 +00:00
gbracha@google.com 413058d6a5 Correct rule for unqualified function invocations.
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28954 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 21:29:32 +00:00
gbracha@google.com 4e4087c426 Clarify that when a local variable hides a type before it is declared, it is stilla compile-time error, and that the VM has flexibility to report such errors at the declaration rather than the use.
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28896 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 23:11:58 +00:00
gbracha@google.com 47a546e035 Assert that override warnings for members for classes carry through to interfaces.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28890 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 22:42:55 +00:00
gbracha@google.com 1b850dd4ff It's an error if to instantiate a subclass of a malbounded type,or a type variable.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28701 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:54:58 +00:00
gbracha@google.com 0d5b2c28ae Least upper bound fixes.
Review URL: https://codereview.chromium.org//27209004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28672 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 18:39:55 +00:00
gbracha@google.com da96b74f08 Update spec to 0.7. Remove obsolete/redundant rules for local variable initialization. Remove restriction on const instance creation. Liberalize type promotion rules.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28589 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 16:37:42 +00:00
gbracha@google.com c33559c2e8 Update spec to 0.7. Remove obsolete/redundant rules for local variable initialization. Remove restriction on const instance creation.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28552 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 20:56:55 +00:00
gbracha@google.com df4b9e4a9c Make sure exports treat dart: libs specially just like imports.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28540 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 19:13:06 +00:00
gbracha@google.com 65077b32f4 Slight rewording of compile-time errors for switch cases, for clarity. No semantic change.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28418 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 21:17:24 +00:00
iposva@google.com 61f1c52eed - Fix typo in grammar.
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28395 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 00:42:59 +00:00
gbracha@google.com 9ec531b2bb Allow distinction in typesetting between built-in identifierss and true keywords.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28393 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 00:11:51 +00:00
gbracha@google.com 5a7f24cb61 Use more-specific instead of subtyping for type promotion; extend definition of more-specific to include function types so that the change works.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28335 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 23:33:05 +00:00
iposva@google.com 59611b2414 - Add the language specification to the repository.
R=dgrove@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28332 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 22:43:18 +00:00