Fixed case where function expressions in static declarations picked up type arguments.

Previously, the following would compile with no errors:

	class Foo<T> {
		// Should be error to use 'T' here
		static x = (n: T) => {};
		static y = function (m: T) { };
	}