Commit Graph

41706 Commits

Author SHA1 Message Date
Andrey Breslav a4768eda98 TypeInfo should be covariant. Consider the common case in Java when something wants, say, an annotation class. They write Class<? extends Annotation>. We can write just TypeInfo<Annotation> 2011-11-09 15:22:35 +03:00
Pavel Talanov 42a252c6a9 split code into modules and lots of other code changes 2011-11-09 16:11:18 +04:00
Sergey Ignatov fdf18e85fc IdentifierImpl fixed 2011-11-09 16:04:57 +04:00
Sergey Ignatov d4b35bc27f EQEQ added as a token type 2011-11-09 16:04:57 +04:00
Sergey Ignatov 1bc527cd92 supported two cases for constructor calling 2011-11-09 16:04:57 +04:00
Sergey Ignatov 54265da366 improved quoting for identifier added 2011-11-09 16:04:57 +04:00
Sergey Ignatov 846ac36fab cleanup 2011-11-09 16:04:57 +04:00
Sergey Ignatov 76995743d8 anonymous packages supported 2011-11-09 16:04:57 +04:00
Sergey Ignatov 39112d6327 example with customer builder added,
initial support for constructors added
2011-11-09 16:04:57 +04:00
Sergey Ignatov 33f3350bb0 Makefile added 2011-11-09 16:04:57 +04:00
Sergey Ignatov 4e8da83efa test for private init method added 2011-11-09 16:04:57 +04:00
Sergey Ignatov 12b03042ea open modifier for functions added 2011-11-09 16:04:57 +04:00
Sergey Ignatov fd7fde1058 this statement added 2011-11-09 16:04:57 +04:00
Sergey Ignatov 35a6c1973a super statement improved 2011-11-09 16:04:57 +04:00
Sergey Ignatov 98c9fcf68f cleanup 2011-11-09 16:04:56 +04:00
Pavel Talanov 733d4f5168 split code into modules and lots of other code changes 2011-11-09 16:00:20 +04:00
Stepan Koltsov b1df4a0045 KT-419 Strange 'unresolved' bug when using constructor parameters that aren't properties
===
class A(w: Int) {
    var c = w
    {
        c = 17
    }
}
===
2011-11-09 14:51:04 +04:00
svtk 7c05e4b9b4 Merge remote-tracking branch 'origin/master' 2011-11-09 12:22:14 +04:00
svtk 2d6337fe93 KT-456 No check for obligatory return in getters 2011-11-09 12:22:08 +04:00
Alex Tkachman cfc41361ac expressions as functions 2011-11-08 22:45:48 +01:00
Dmitry Jemerov 30e44b1665 to avoid having the test name reset by UsefulTestCase.clearDeclaredFields(), mark it as final 2011-11-08 18:30:38 +01:00
Andrey Breslav 43dec762e0 description 2011-11-08 20:48:01 +03:00
svtk 24d663a08f KT-455 Do not repeat errors in definite assignment checks 2011-11-08 17:33:50 +04:00
Andrey Breslav 1cbee4b28f Merge remote branch 'origin/master' 2011-11-08 16:25:15 +03:00
Andrey Breslav f62b3f4a42 Trying to fix tests on Ubuntu agents 2011-11-08 16:23:44 +03:00
svtk dfb17a5f0e KT-58 Allow finally around definite returns 2011-11-08 16:25:04 +04:00
Stepan Koltsov f47f462dca KT-418: test for case when safe call on non-null value returns null
1?.somethingReturnNull()

must still yield null
2011-11-08 16:00:22 +04:00
Stepan Koltsov 1f511db31c KT-418 Make 1.?plus(2) have type Int 2011-11-08 15:44:02 +04:00
Stepan Koltsov 35275466bc KT-20 Resolve class objects' contents in the 'static' scope 2011-11-08 14:21:57 +04:00
Alex Tkachman 509ffb2fde refactoring of codegen contexts, and proper this/outer/super/receiver support 2011-11-08 11:11:42 +01:00
Andrey Breslav aa1ebbe445 JetCompilerManager (trivially) implements ProjectComponent 2011-11-08 13:05:11 +03:00
Andrey Breslav 14526a0263 KT-414 Hello world does not run if defined in an anonymous namesapce
+ getFQName moved out of a PSI class
2011-11-08 12:29:27 +03:00
Alex Tkachman fb41c3c9c0 debug info for parameters 2011-11-07 23:10:28 +01:00
Alex Tkachman ebc508a7b8 commented debug output 2011-11-07 22:42:52 +01:00
Andrey Breslav b15321b1bf Debug names of slices are written automatically 2011-11-07 22:46:16 +03:00
Andrey Breslav 00d65ebd8f KT-430 Quick info reports references to other files as Unresolved 2011-11-07 22:04:10 +03:00
Andrey Breslav c57ae34cf0 Assertion failure fixed on fixpoint generics loaded from Java 2011-11-07 20:16:09 +03:00
Andrey Breslav 3e59df95ef IndexOutOfBounds fixed 2011-11-07 20:16:09 +03:00
svtk 7d7d33b2ee KT-443 Write allowed to super.val 2011-11-07 19:49:32 +04:00
svtk 5adbd82557 Merge branch 'master' of ssh://git.labs.intellij.net/jet 2011-11-07 19:47:10 +04:00
Andrey Breslav 2c43bbd210 Merge remote branch 'origin/master' 2011-11-07 19:17:07 +03:00
Andrey Breslav d292b6bcfe KT-193: Guard primary constructor modifier list with a lookahead for LPAR 2011-11-07 19:16:40 +03:00
svtk c71d9796a2 improved processing of local declarations in cfg construction 2011-11-07 18:49:30 +04:00
Sergey Ignatov d36c2a46d3 AnonymousClasses supported 2011-11-07 17:49:05 +04:00
Sergey Ignatov 15cad77cd0 super expression added 2011-11-07 17:14:36 +04:00
Sergey Ignatov 4bab2ba877 cleanup 2011-11-07 16:50:40 +04:00
Sergey Ignatov 029e0dc9a9 added test for full path constructor invocation 2011-11-07 16:29:01 +04:00
Sergey Ignatov 510fb25e80 nullable safe calls supported (for methods and instances) 2011-11-07 16:01:09 +04:00
Sergey Ignatov 8f1727882a nullable safe calls supported (only for fields) 2011-11-07 15:22:36 +04:00
Alex Tkachman 0b6dffb79b KT-446: wrong String.+= 2011-11-07 11:18:49 +01:00