commit | 4ebdef4ca786cc9c405458dd70a2e7c5b39ecd3f | [log] [tgz] |
---|---|---|
author | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Feb 02 21:13:58 2011 +0000 |
committer | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Feb 02 21:13:58 2011 +0000 |
tree | 5357fb2b38b8e14f8b2f37f0cf8db14b073fd541 | |
parent | 3afa07184f2dfc64c32a89929cd7d795cb174791 [diff] |
Remove useless templatization from JS AST. The original intent was that JsContext would get parameterized with the "compatible" node type. So all JsExpression subclasses used a JsContext<JsExpression>, which means, essentially, "I can be replaced only with other expressions". There was a tiny amount of usefulness in being able to see this statically. In practice though, it's too much crazy futzing with generics. You'll get a ClassCastException at runtime anyhow if you screw something up, and our test coverage is really good these days. http://gwt-code-reviews.appspot.com/1310805/show git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9667 8db76d5a-ed1c-0410-87a9-c151d255dfc7