Commit Graph

7586 Commits

Author SHA1 Message Date
Eric Traut
017c21dcb1 None derives from object. 2019-03-17 00:12:36 -07:00
Eric Traut
42a19a82c5 Moved more logic from type analyzer to expression evaluator.
Added specialization support for function types.
2019-03-17 00:06:21 -07:00
Eric Traut
18ab06dbe3 Changed ClassType.cloneForSpecialization to take a list of type arguments as a parameter.
Moved __getattribute__ processing into expression evaluator.
Implemented more specialization logic.
Removed hacky node reference in FunctionParameter interface.
2019-03-16 16:14:47 -07:00
Eric Traut
6a246da971 Fixed bug in parsing of from import clauses where it didn't detect empty import statements. 2019-03-16 12:15:20 -07:00
Eric Traut
64ef65546b Fixed more bugs in expression evaluator. 2019-03-16 12:14:27 -07:00
Eric Traut
5c0c0ce016 Fixed several more bugs in expression evaluator. 2019-03-16 09:44:47 -07:00
Eric Traut
b518f36694 Removed redundant expression evaluation code from type analyzer. 2019-03-16 09:12:01 -07:00
Eric Traut
cee369f31b Temporarily commented out buggy code in list comprehension code. 2019-03-16 01:58:39 -07:00
Eric Traut
05aea176ef Added caching and a bunch of additional cases to expression evaluator. 2019-03-16 01:48:15 -07:00
Eric Traut
f933d3fa5c Removed typeAnnotation module and moved most of its logic into new expressionEvaluator module.
Created scopeUtils module.
2019-03-15 23:42:50 -07:00
Eric Traut
6da6593d4d Fixed a few more bugs in type checker. 2019-03-15 19:28:09 -07:00
Eric Traut
00ae7f1400 Fixed a few bugs in type analyzer. 2019-03-15 17:29:48 -07:00
Eric Traut
cbaaa0ff84 Fixed bug related to namedtuple. 2019-03-15 01:04:51 -07:00
Eric Traut
3ff54aab35 Continued work on generics. 2019-03-14 23:40:08 -07:00
Eric Traut
0ce70b3b98 Fixed bug in analysis loop that could result in dependent files not getting invalidated due to a timeout. 2019-03-14 23:39:29 -07:00
Eric Traut
b7793cbe29 Improved hover output for classes. 2019-03-14 23:38:31 -07:00
Eric Traut
6d7a44fcdf Fixed type stub file. 2019-03-14 23:38:11 -07:00
Eric Traut
9f3b20bfc1 Fixed a few bugs in generics processing. 2019-03-14 17:33:46 -07:00
Eric Traut
4f270b62d7 Fixed regression in constructor argument validation. 2019-03-14 16:44:14 -07:00
Eric Traut
f0bf4a1f74 Continued implementation of generic classes. 2019-03-14 16:38:52 -07:00
Eric Traut
5e47a2fd18 Added the ability to clone ClassType instances for specialization purposes.
Hooked up built-in types to their corresponding base classes (e.g. List derives from list).
2019-03-14 13:40:31 -07:00
Eric Traut
f3cf0c0a9b Started to revamp typeAnnotation to handle type variables. 2019-03-13 23:52:16 -07:00
Eric Traut
68d64bc3d7 Refactored type annotation code into smaller functions. 2019-03-12 22:24:35 -07:00
Eric Traut
8cb737469e Modified FunctionType and ClassType to support type parameters and type arguments. 2019-03-12 15:35:32 -07:00
Eric Traut
24b705a661 Small tweaks to README 2019-03-12 15:22:15 -07:00
Eric Traut
61bd3d4fac Updated logo 2019-03-12 15:19:01 -07:00
Eric Traut
6fc1c00af6 Eliminated unnecessary EllipsisType. 2019-03-11 22:02:44 -07:00
Eric Traut
67089438cc Small update to README. 2019-03-11 22:02:23 -07:00
Eric Traut
a4fb40d565 Added .vscode/launch.json file. 2019-03-11 22:02:14 -07:00
Eric Traut
cf93cdf7b2 Update readme. 2019-03-11 21:33:50 -07:00
Eric Traut
6d6f2b6f4f Updated documentation. 2019-03-11 21:30:44 -07:00
Eric Traut
66a03a9525 Added logo 2019-03-11 20:49:50 -07:00
Eric Traut
1d91744b1f Initial checkin. 2019-03-11 20:45:56 -07:00
Microsoft Open Source
da82496b3c Initial commit 2019-03-11 20:38:50 -07:00
Microsoft Open Source
134f8ad48b Initial commit 2019-03-11 20:38:50 -07:00
Microsoft GitHub User
60c76da87d
Initial commit 2019-03-11 20:38:47 -07:00