-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instantiate anonymous types less #7138
Commits on Feb 18, 2016
-
Strawman: instantiate anonymous types less
This operates during `instantiateType` to skip instantiation of anonymous types whose declarations are *not* bound by the type mapper that will do the instantation. Unfortunately, it fails for this types and union types, perhaps because these do not have symbols. This types also don't have explicit type parameters, so that may be the reason. For example, for-of30 currently fails.
Configuration menu - View commit details
-
Copy full SHA for 6c0b0ef - Browse repository at this point
Copy the full SHA 6c0b0efView commit details -
Add test with lots of generic static methods
Each of the methods has a `typeof Class` argument which currently causes an out-of-memory error when compiling a lot of these methods.
Configuration menu - View commit details
-
Copy full SHA for 7a48fb2 - Browse repository at this point
Copy the full SHA 7a48fb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fecf2b - Browse repository at this point
Copy the full SHA 2fecf2bView commit details -
Instantiate all interfaces that are mapped.
Since they have no static side.
Configuration menu - View commit details
-
Copy full SHA for f6cadc9 - Browse repository at this point
Copy the full SHA f6cadc9View commit details -
Instantiate generic type aliases
Including aliases of intersection types.
Configuration menu - View commit details
-
Copy full SHA for 5774f14 - Browse repository at this point
Copy the full SHA 5774f14View commit details
Commits on Feb 26, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b138d4a - Browse repository at this point
Copy the full SHA b138d4aView commit details
Commits on Mar 1, 2016
-
Improve type-parameter-in-scope check
1. Use types directly instead of type's symbol's names. Comparing names was incorrect and bluebird's .d.ts from DefinitelyTyped still hit the bug. 2. Use this-type of classes directly to see whether this-types are mapped.
Configuration menu - View commit details
-
Copy full SHA for f7c4b3a - Browse repository at this point
Copy the full SHA f7c4b3aView commit details -
Add complex out-of-memory test based on bluebird.d.ts
This is more complicated than the angular example in that it has a lot of generic statics inside a class that is itself generic. The class and functions all use the same name for their type parameters.
Configuration menu - View commit details
-
Copy full SHA for a5a4b59 - Browse repository at this point
Copy the full SHA a5a4b59View commit details