c4d9d56627
The error message for can't use a type variable in a static context is useful, but it was an unconditional error. Really, the message is just a more friendly version of 'NO_SUCH_TYPE' and needs to work in the same way, being a warning in some contexts, and a compile time error in others. http://code.google.com/p/dart/issues/detail?id=2374 Review URL: https://chromiumcodereview.appspot.com//9963082 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6146 260f80e4-7a28-3924-810f-c04153c831b5