Commit Graph

8116 Commits

Author SHA1 Message Date
Leonid Shalupov 104c8a75a1 made publish-maven-artifacts an executable 2012-10-04 11:56:22 +04:00
Evgeny Gerashchenko 22e62c5723 KT-1973 added tests.
#KT-1973 Fixed
2012-10-03 23:33:16 +04:00
Evgeny Gerashchenko f33669bc83 KT-1973 Loading object declarations from compiled classes.
#KT-1973 in progress
2012-10-03 23:33:15 +04:00
Evgeny Gerashchenko 998095c55c KT-1973 Added class kind to JetClass annotations to distinguish object declarations and regular classes.
#KT-1973 in progress
2012-10-03 23:33:15 +04:00
Evgeny Gerashchenko 889a238fbc KT-1973 Made classes for objects declarations/expressions final.
#KT-1973 in progress
2012-10-03 23:30:55 +04:00
Evgeny Gerashchenko 51ae2ebb64 Typo. 2012-10-03 22:14:15 +04:00
Evgeny Gerashchenko a6ab74fc15 Renamed FLAG_KIND_* to FLAG_METHOD_KIND_* 2012-10-03 22:14:15 +04:00
Pavel V. Talanov 3db3745439 Refactor: move *Descriptor classes to descriptor package 2012-10-03 21:56:44 +04:00
Pavel V. Talanov 7fd98f5ef5 Refactor: correct field description in PsiParameterWrapper and remove unused code in PsiClassWrapper 2012-10-03 21:56:42 +04:00
Pavel V. Talanov 9d2446ab9a JDR: move *Wrapper classes to wrapper package 2012-10-03 21:56:40 +04:00
Pavel V. Talanov c5b29354c0 JDR: move *Scope classes to scope package 2012-10-03 21:56:38 +04:00
Pavel V. Talanov 5d93fa6c47 Remove mysterious abstract method with one usage 2012-10-03 21:56:37 +04:00
Pavel V. Talanov 1d36188589 Refactor mysterious field typeParameters to be local variable with a less mysterious name 2012-10-03 21:15:13 +04:00
Pavel V. Talanov 09c609e765 JavaDescriptorResolveData.ResolverClassData classDescriptor is private and accessed via getter 2012-10-03 20:58:40 +04:00
Pavel V. Talanov 1026675d44 JavaDescriptorResolveData.ResolverScopeData fields are private and accessed via getters 2012-10-03 20:47:09 +04:00
Nikolay Krasko 93baf78779 Refactoring: Tune isPropertyFinal() 2012-10-03 17:42:13 +04:00
Nikolay Krasko dc54bd673c Refactoring: extract more methods 2012-10-03 17:42:11 +04:00
Nikolay Krasko 32d3c8865e Refactoring: Move creation of grouping values to separate method 2012-10-03 17:42:10 +04:00
Nikolay Krasko 1a6f1af0e5 Move ResolverData classes and property resolve to separate classes from JavaDescriptorResolver 2012-10-03 17:42:10 +04:00
Nikolay Krasko 58c05afa87 Fix warnings and remove outdated code 2012-10-03 17:42:09 +04:00
Nikolay Krasko 29ee6e5442 Weaken parameter requirements 2012-10-03 17:42:07 +04:00
Nikolay Krasko 7fe6df2756 Remove warnings 2012-10-03 17:42:06 +04:00
Pavel V. Talanov ab7a037d76 compiler.xml 2012-10-03 17:31:29 +04:00
develar f728d1cb25 Make notNullCheck for safe calls more readable
Cherry-picked from:
https://github.com/develar/kotlin/commit/5f4d9dd0a1d720d36e3387574223b80388ecdca7
2012-10-03 13:02:13 +04:00
develar 2f8af7bcec Throwable constructor parameter message should be nullable string
Cherry-picked from:
https://github.com/develar/kotlin/commit/7604aa2a0f21a3fa78d94bbabc0f8a6c140c14e4
https://github.com/develar/kotlin/commit/578d51f783bce7da71f08e21706517416ed9f7a6
2012-10-03 13:01:20 +04:00
Svetlana Isakova 60513db517 added annotation for 'gerParameterAnnotations'
(is needed for KAnnotator)
2012-10-02 14:20:00 +04:00
Svetlana Isakova 9d5f5f7adf KT-2842 Function with declared non-null receiver resolves with nullable argument receiver
#KT-2842 fixed
2012-10-02 14:20:00 +04:00
Evgeny Gerashchenko 069ef8ef91 KT-2712 Debugger should show value of receiver of extension functions
#KT-2712 fixed
2012-10-01 21:23:09 +04:00
Evgeny Gerashchenko e4f2fdc5f2 Better names for THIS$0 and RECEIVER$0 constants. 2012-10-01 21:23:09 +04:00
Evgeny Gerashchenko 3d8b6e758a Typo. 2012-10-01 21:23:09 +04:00
pTalanov 5bc4fc458a Don't call redundant toString for variables of type Int
Refactor StringTemplateTranslator a little
2012-10-01 21:15:13 +04:00
develar b7b8c5a757 Don't call toString for simple number literal and string
Cherry-picked https://github.com/develar/kotlin/commit/e93f2d6f52fe640f6523416377b3ff9be67f76dc
2012-10-01 20:44:36 +04:00
pTalanov 622ad8cbb4 Add checks that test that there are no redundant toString calls for numbers and strings in string templates 2012-10-01 20:42:44 +04:00
pTalanov 0a1881d78e Cosmetics refactoring in StringTest 2012-10-01 20:15:49 +04:00
pTalanov 03c4095b1f SpecialFiles updated for android tests 2012-10-01 20:10:47 +04:00
Pavel V. Talanov be0fca3f65 Remove references to javascript annotations from java stdlib
Fix annoying bad annotation in repository
2012-10-01 16:21:06 +04:00
Pavel V. Talanov efe0c83872 Delete some strange code left (accidentally?) for the purpose of testing KT-1515. 2012-10-01 16:17:42 +04:00
Pavel V. Talanov 90ce15d96f Modify test for KT-1515 to actually test using javaClass in another package as stated in the request.
NOTE: not 100% that this test actually covers the corresponding fix by Alex Tkachman.
2012-10-01 16:14:40 +04:00
Andrey Breslav 023f714cbf @NotNull for Pattern.compile 2012-09-29 02:26:44 +04:00
Andrey Breslav 981d23ec0f Fixed some annotations afetr the fix in 356565c 2012-09-28 20:45:46 +04:00
Andrey Breslav ff8e851f46 DriverManager fixed in mockJDK: an up-to-date version with generics put it
#KT-2850 Fixed
2012-09-28 20:04:01 +04:00
Andrey Breslav 2246755488 Fix tests (inconsistency in annotations) 2012-09-28 19:20:15 +04:00
Andrey Breslav 9fea54ae1c Escape < and > in annotations 2012-09-28 18:42:12 +04:00
Andrey Breslav 02d9683805 Erroneous annotations fixed/removed 2012-09-28 15:52:48 +04:00
Nikolay Krasko 15a66dccef Move anonymous class to separate file 2012-09-27 18:52:59 +04:00
Nikolay Krasko 86d8be76cb EA-39162 Exception while trying to wrap method with default parameters 2012-09-27 18:52:58 +04:00
Nikolay Krasko 24dc31bd9a More information about errors in wrapping functions 2012-09-27 18:52:57 +04:00
Nikolay Krasko f943aa48a0 Change check for function slice rewrite with explicit guard 2012-09-27 18:52:56 +04:00
Nikolay Krasko 7b60c016f9 EA-36390 Guard rewriting constructor in slice 2012-09-27 18:52:55 +04:00
Evgeny Gerashchenko 0d7544c6a9 Using JetValueParameterAnnotation factory method instead of constructor.
Made constructor private.
2012-09-27 18:27:30 +04:00