Commit Graph

57 Commits

Author SHA1 Message Date
Andrey Breslav 2e2c31ea00 Typing for When-expressions 2011-02-03 15:10:07 +03:00
Andrey Breslav 253f5b2d06 Tests for common supertype inference 2011-02-03 14:30:25 +03:00
Andrey Breslav 08c1863981 Inferring common supertypes taking projections and bounds into account 2011-02-01 17:31:56 +03:00
Andrey Breslav b70fcfb3f6 A little more on common supertype inference. A big change is coming: the parameters must be inferred intelligently (including projection introductions). A few tests are failing: they are checking this non-existent behaviour 2011-01-27 22:36:12 +03:00
Andrey Breslav 7f74b8380f Common supertypes found correctly for simple cases 2011-01-27 20:02:23 +03:00
Andrey Breslav 65cf049e73 Types for jump expressions 2011-01-27 17:03:52 +03:00
Andrey Breslav c7c28ac2e7 Nullable and Nothing supported 2011-01-27 16:47:22 +03:00
Andrey Breslav 820563a283 Type infrastructure simplified 2011-01-27 16:06:11 +03:00
Andrey Breslav ae854b1e38 Subtyping works for parameterized superclasses 2011-01-26 22:38:52 +03:00
Andrey Breslav 798510b719 Contexts added for type parameter resolution. Annotations renamed into attributes for consistency 2011-01-26 22:05:59 +03:00
Andrey Breslav d80d3a628d Subtyping tests with projections works 2011-01-26 18:49:57 +03:00
Andrey Breslav 1a6f7f5f79 Basic user type test passes 2011-01-26 17:48:02 +03:00
Andrey Breslav b5ca23fd6c A bit more tests for the basic typechecker 2011-01-25 22:43:47 +03:00
Andrey Breslav 308ab1c4eb Subtyping for type constructor applications with projections 2011-01-25 18:54:26 +03:00
Andrey Breslav ef977e02e4 First typechecker test passed 2011-01-25 17:28:55 +03:00
Andrey Breslav 713f95d9d2 Initial stub version of resolve for types 2011-01-25 15:24:12 +03:00
Andrey Breslav 1ce2ed87b5 Initial stub version of resolve for types 2011-01-24 22:10:25 +03:00
Andrey Breslav 113a066e48 Working on the type checker 2011-01-20 19:28:36 +03:00
Andrey Breslav c7292cee7b Working on the type model 2011-01-18 17:10:14 +03:00
Andrey Breslav e40769f45b Initial stubs for Psi checker and tests for it 2011-01-14 22:43:44 +03:00
Maxim Shafirov 7ac9173d14 Validate getters marked as nullable on parse error only return null if there's a parse error. 2011-01-11 02:57:10 +03:00
Maxim Shafirov 6cf565dcf5 Mark getters, that return null only in case of parsing error 2011-01-11 01:18:30 +03:00
Maxim Shafirov 449bda6498 Naive testing for PSI getters. 2011-01-07 02:11:40 +03:00
Andrey Breslav 27c4494d69 A bug caused by side-effects in assertions fixed. A new test (checks the code for suspicious asserts) added. 2011-01-03 23:59:28 +03:00
Maxim Shafirov fce7277439 psi nodes, initial 2011-01-03 18:14:32 +03:00
Andrey Breslav e2fca30f22 0-ary tuples 2011-01-03 13:27:40 +03:00
Andrey Breslav 4d4e9cc342 Better testing framework, examples added as tests 2011-01-02 21:26:50 +03:00
Andrey Breslav 3f82192a7c EOLs are treated properly in the presence of comments and multiple whitespace tokens 2011-01-02 17:00:52 +03:00
Andrey Breslav 621a51e856 Passing closures outside parentheses. !!! A hack for by clause 2011-01-02 16:30:18 +03:00
Andrey Breslav 9224f75d33 Tests for match 2011-01-02 14:56:52 +03:00
Andrey Breslav ea847f4a4d Precedence of basic operations tested 2010-12-30 15:31:03 +03:00
Andrey Breslav 7f69f1ffe2 Newlines disabled inside () and [], enabled inside {} 2010-12-30 15:08:14 +03:00
Andrey Breslav b56b4c8930 Function literals 2010-12-29 20:53:30 +03:00
Andrey Breslav 01297cc926 Local declarations 2010-12-29 18:08:47 +03:00
Andrey Breslav 2305f3c445 Fixing function types 2010-12-29 15:42:57 +03:00
Andrey Breslav 408eb6fcdc Control structures 2010-12-27 21:41:35 +03:00
Andrey Breslav 4cd1a55b9b All simple expressions (only basic testing, no recovery) 2010-12-27 20:23:21 +03:00
Andrey Breslav 84ffac4b60 Enums 2010-12-22 20:52:34 +03:00
Andrey Breslav 407a8e1684 Tests fixed 2010-12-22 19:46:09 +03:00
Andrey Breslav cfcb9d7d7d New syntax for property accessors 2010-12-22 19:28:22 +03:00
Andrey Breslav 198c46528c More tests, minor fixes 2010-12-21 19:46:20 +03:00
Andrey Breslav b521a7a244 Tests for basic class member cases 2010-12-21 19:21:21 +03:00
Andrey Breslav 4d54f704b9 Soft keywords fixed 2010-12-21 18:46:49 +03:00
Andrey Breslav ba1cc369f8 Extensions 2010-12-20 20:54:20 +03:00
Andrey Breslav 6361d0eb0a Functions 2010-12-20 19:12:42 +03:00
Andrey Breslav 3d21852134 Properties. Recovery needs to be fixed 2010-12-16 23:16:32 +03:00
Andrey Breslav beded22df5 Decomposers 2010-12-16 21:59:48 +03:00
Andrey Breslav dee94c5e12 Function types 2010-12-16 16:29:08 +03:00
Andrey Breslav 86c59d7530 Tuple types 2010-12-16 13:17:38 +03:00
Andrey Breslav 9bcdf19bb2 Type annotations 2010-12-16 13:02:35 +03:00