Commit Graph

2443 Commits

Author SHA1 Message Date
Stepan Koltsov 49dbcaa728 rename ReadClassDataTest 2012-01-17 19:32:18 +04:00
Stepan Koltsov 0dd7387f6c substitute on error class should be error 2012-01-17 19:32:05 +04:00
Stepan Koltsov b05c8ac3fd fix kotlin command-line launcher: add classpath entry 2012-01-17 19:30:43 +04:00
Nikolay Krasko c4bdd59f02 Make java classes completion popup not so obtrusive 2012-01-17 19:21:34 +04:00
Andrey Breslav 7b8a057f37 Merge remote branch 'origin/master' 2012-01-17 19:04:20 +04:00
Andrey Breslav edb324860a Stub visibility checker 2012-01-17 19:03:59 +04:00
svtk 94e3cc9976 Merge remote-tracking branch 'origin/master' 2012-01-17 15:43:17 +04:00
svtk e6a2b2fc0f //KT-1027 Strange selection of unreachable code 2012-01-17 15:43:11 +04:00
svtk 3a634417b9 KT-776 Wrong detection of unreachable code
KT-1001 Argument 2 for @NotNull parameter of JetFlowInformationProvider.checkIsInitialized must not be null
2012-01-17 15:27:54 +04:00
Nikolay Krasko 62de24d6c9 KT-1021 "internal" is suggested in completion where type is expected 2012-01-17 13:58:00 +04:00
Maxim Shafirov d51c030803 New module script DSL 2012-01-16 20:59:17 +04:00
Andrey Breslav fb463da84b KT-918 Use-case for using some functions and lambdas (confused) 2012-01-16 17:22:12 +04:00
Maxim Shafirov 7142bc10d0 Comment out temporarily to fix compilation 2012-01-16 16:38:37 +04:00
Maxim Shafirov 654bc92246 fix compiler compile 2012-01-16 16:16:36 +04:00
Stepan Koltsov 73a1a5a083 fix exception in error type mapper
(reported by Sergey)
2012-01-16 12:47:49 +04:00
Stepan Koltsov 0c4936981a @Nullable annotations 2012-01-15 19:50:52 +04:00
Stepan Koltsov 5f44c17b85 ReadClassDataTest: read inner classes
(this commit is made on speed 250km/h somewhere between Moscow and Saint Petersburg)
2012-01-15 18:56:48 +04:00
Stepan Koltsov 669ea44c1a write InnerClasses attribute 2012-01-15 18:56:45 +04:00
Stepan Koltsov 3ce345b06b fix inner class serialization in ReadClassDataTest 2012-01-15 18:56:42 +04:00
Stepan Koltsov 882a475ac8 replace JavaClassDescriptor with MutableClassDescriptorLite 2012-01-14 04:27:22 +04:00
Stepan Koltsov 10eb516743 split MutableClassDescriptor
into MutableClassDescriptor base class MutableClassDescriptorLite.
Latter will be used to replace JavaClassDescriptor
2012-01-14 04:27:15 +04:00
Stepan Koltsov 2fe9344225 kill ClassDescriptor.superclassType
it is not used anywhere, I'll restore it when it is needed
2012-01-14 04:27:10 +04:00
Stepan Koltsov 2ab2030cea refactoring for easier next step refactoring
call MutableClassDescriptor.setTypeParameterDescriptors(..) exactly once
2012-01-14 04:27:05 +04:00
Stepan Koltsov 133fc683a4 merge @JetProperty and @JetMethod
because:
* have common parts
* reduce class size

Also add helper JetMethodAnnotationWriter class

And also do not generate @Jet* annotations for closures
2012-01-13 23:56:13 +04:00
Stepan Koltsov 6603a431fa read class data: hide methods
hide inherited Object and jet.JetObject methods, and special static methods
2012-01-13 23:56:08 +04:00
Nikolay Krasko fc63f1e4ae KT-983 Code completion for not-imported classes - a very temp commit with enabling java class names completion with Ctrl + Space. 2012-01-13 19:51:57 +04:00
svtk a07e164076 KT-955 Unable to import a Kotlin package into a Kotlin file with no package header 2012-01-13 18:18:18 +04:00
Maxim Shafirov 8e85962856 Don't crash compiling incorrect code. This is very important for jet.as.java.psi component 2012-01-13 17:30:15 +04:00
Nikolay Krasko db8848f3af KT-999 Show full names of elements in structure view 2012-01-13 15:45:31 +04:00
Maxim Shafirov 59e688f9ff Move module scripting out of jvm backend 2012-01-13 14:23:48 +04:00
Maxim Shafirov 90fb61f63c Cleanup dependency zips so they don't mess into final plugin artifact 2012-01-13 14:13:31 +04:00
Maxim Shafirov 8e8f8716ba Add cli compiler to plugin artifact 2012-01-13 13:56:30 +04:00
Maxim Shafirov 80875beaad Standard error reporting for the plugin 2012-01-13 13:56:30 +04:00
svtk 3f003a16c2 Merge remote-tracking branch 'origin/master' 2012-01-13 13:28:35 +04:00
svtk 119783ef31 warning on hidden imports 2012-01-13 13:28:05 +04:00
Nikolay Krasko f457b1cb7a KT-984 Make structure window work with kotlin files 2012-01-13 11:36:35 +04:00
Stepan Koltsov de3ba203a6 test TypeParameterDescriptor index in ReadClassDataTest
(and fix index parsing)
2012-01-13 03:55:12 +04:00
Stepan Koltsov 8055cf0704 fix another case of property resolution
val <T> T.prop: Something<T>
2012-01-13 03:55:11 +04:00
Stepan Koltsov a8ff7e5aaf assert ReadClassDataTest works with non-empty set 2012-01-13 03:55:11 +04:00
Stepan Koltsov a8137d1a56 fix another case of property resolution, refactoring 2012-01-13 03:55:11 +04:00
Stepan Koltsov de337df53e better output in ReaderClassDataTest.compareNamespaces 2012-01-13 03:55:11 +04:00
Stepan Koltsov 83e8ecf1c3 fix assert
* getText() throws
* make unconditional
2012-01-13 03:55:11 +04:00
Stepan Koltsov 9f8c4eba4c unify Property{Getter,Setter}Descriptor constructors 2012-01-13 03:55:10 +04:00
Stepan Koltsov b0dcbad365 fix ReadClassDataTest type parameters output 2012-01-13 03:55:10 +04:00
Stepan Koltsov 9666f4b6cd outdated todo 2012-01-13 03:55:10 +04:00
Stepan Koltsov aa2f2742d5 BothSignatureWriter should write JVM signatures too
(this simplifies body of JetTypeMapper)
2012-01-13 03:55:10 +04:00
Stepan Koltsov 82880c82e3 WriteSignatureTest for varargs 2012-01-13 03:55:10 +04:00
Stepan Koltsov 709ff80d63 more tests 2012-01-13 03:55:10 +04:00
Stepan Koltsov 85ec4d980f write generic signature in getters and setters 2012-01-13 03:55:09 +04:00
Andrey Breslav c78cb3cc19 Rename namespace->package in the token decala 2012-01-12 19:50:14 +04:00