Commit Graph

5961 Commits

Author SHA1 Message Date
Nikolay Krasko e5f06a87d1 Add JS lib as module lib. It gives ability to navigate into it. 2012-06-09 18:38:31 +04:00
Nikolay Krasko e7d625e37c Fix type in function name and a better name for another function 2012-06-09 18:38:30 +04:00
Dmitry Jemerov ba76e1467c correct argument index for object that has outer this and closure arguments
#KT-1737 Fixed
2012-06-09 16:20:11 +02:00
Leonid Shalupov a23f0018a5 libraries readme: JVM options 2012-06-09 17:48:17 +04:00
Svetlana Isakova 74f4fde180 KT-2240 Wrong overload resolution ambiguity when object literal is involved
#KT-2240 fixed
2012-06-09 17:40:22 +04:00
Dmitry Jemerov 198c7c1bd2 correct qualified name for namespace$src class
#KT-2236 Fixed
2012-06-09 15:33:51 +02:00
Evgeny Gerashchenko d5b32ba70e KT-2206 ClassFormatError on loading class with property inherited from trait
#KT-2206 fixed
2012-06-09 17:13:38 +04:00
Evgeny Gerashchenko 64d1d3eda6 KT-2193 Nullability information lost for functions inherited from traits
#KT-2193 fixed
2012-06-09 17:13:38 +04:00
Evgeny Gerashchenko 208dd4e35d Revert commit because two commits fixing separate bugs were accidentally stuck together. Will recommit bugfixes separately.
Revert "KT-2193 Nullability information lost for functions inherited from traits".

This reverts commit d60818fd3e.
2012-06-09 17:13:38 +04:00
Dmitry Jemerov 0a05197454 remove attempt to optimize using 'if' statement as the last one in a loop which created far more problems that it fixed
#KT-1978 Fixed
2012-06-09 15:14:33 +02:00
Andrey Breslav a061bca524 Avoid adding the same thing twice 2012-06-09 16:52:54 +04:00
Andrey Breslav f01b5ee55a Formatter 2012-06-09 16:52:54 +04:00
Andrey Breslav 0e0bf60e90 Clarifying comment 2012-06-09 16:52:53 +04:00
Evgeny Gerashchenko d60818fd3e KT-2193 Nullability information lost for functions inherited from traits
#KT-2193 fixed
2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko f83defaa7f KT-2228 Open and final trait members are loaded as abstract from binary Kotlin classes.
Added storing modality for trait members in @JetMethod annotations.

 #KT-2228 Fixed
2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko ef856c5888 Replaced JetMethodAnnotationWriter.writeFlags(BitSet) method with method taking indices of bits which should be set. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko c446fa3fc9 Replaced int flags with BitSet in internal API. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko 12893cec54 Added JetMethod.flags() to replace kind(), with adding extra functionality (modality and visibility marking). 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko e8c5677592 Reformatted. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko ecf8b1ea25 Replaced "Builtin classes scope #2" debug name with more meaningful name. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko 6e5724edb6 Moved checking for syntax errors in alternative signature to AlternativeSignatureParsing. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko 16565e1101 Made methods in AlternativeSignatureParsing throwing AlternativeSignatureMismatchException and added proper handling of them. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko 4cbfa9beb6 Added storing alternative signature reading errors in class resolve data. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko 7cb591401d Supported alternative signatures for vararg parameters. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko bb0f3f733b Added alternative signature test with vararg parameter. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko b1ba730ebb Ignoring alternative signature annotation if it has syntax errors. 2012-06-09 16:46:37 +04:00
Evgeny Gerashchenko 0d47bf5472 Added test with syntax error in alternative signature annotation. 2012-06-09 16:46:36 +04:00
Evgeny Gerashchenko 35e020e742 Removed unnecessary copyright comment in test data. 2012-06-09 16:46:36 +04:00
Evgeny Gerashchenko e3da27d62e Fixed typos 2012-06-09 16:46:36 +04:00
Dmitry Jemerov c9125d3f59 correctly call properties on annotation classes
#KT-1932 Fixed
2012-06-09 14:48:04 +02:00
Nikolay Krasko f8926c8a93 Absence of type is not enough for concluding function has type inference 2012-06-09 15:54:56 +04:00
Andrey Breslav d6f279926c Lazy resolve: Support for imports and Java interop 2012-06-09 15:53:29 +04:00
Andrey Breslav 52d175108d More details in the assertion 2012-06-09 15:52:16 +04:00
Andrey Breslav 86b08d89cf Scopes reverted to nested structure
I was wrong about not redirecting getClassifier() to parent
2012-06-09 15:51:05 +04:00
Andrey Breslav 8358afbcd1 More diagnostic messages + output filter 2012-06-09 15:49:26 +04:00
Andrey Breslav 8b133f2e27 Fix classifier lookup
Writable scopes do not redirect getClassifier() to parent
2012-06-09 13:41:50 +04:00
Andrey Breslav c55bf8600e Fix rendering of error types 2012-06-09 13:41:49 +04:00
Svetlana Isakova 58e4157c4d KT-2234 'period!!' has type Int?
#KT-2234 fixed
2012-06-09 13:33:25 +04:00
Svetlana Isakova 2971c1630e KT-2166 Control flow analysis doesn't detect that a 'while(true)' loop never terminates
KT-2103 Compiler requires return statement after loop which never exits
 #KT-2166 Fixed
 #KT-2103 Fixed
2012-06-09 13:33:25 +04:00
Svetlana Isakova 0e850e5d30 all instructions should be traversed
while reversed order is needed
not only reachable from sink instruction
2012-06-09 13:33:25 +04:00
Svetlana Isakova 9ede882cd5 KT-2226 Parameter used as delegation by object marked as unused
#KT-2226 fixed
2012-06-09 13:33:25 +04:00
Andrey Breslav a070f62317 Field renamed for easier debugging 2012-06-09 13:24:35 +04:00
Andrey Breslav aba0302bf7 Flipped the wrong condition 2012-06-09 12:54:49 +04:00
Andrey Breslav c6cc6d5e1c Lazy resolve: Import root scope into files 2012-06-09 12:50:43 +04:00
Stepan Koltsov dda30fcb82 fix build (add missing dependency) 2012-06-09 01:30:26 +04:00
Stepan Koltsov 084175722b fix classpath construction in repl 2012-06-09 00:48:58 +04:00
Stepan Koltsov 8c7a879e65 jline for repl 2012-06-09 00:28:17 +04:00
Stepan Koltsov 48b1ab417b invoke repl from command line 2012-06-09 00:28:17 +04:00
Stepan Koltsov bc82284d83 add stdlib to repl classpath 2012-06-09 00:19:34 +04:00
Nikolay Krasko b104d70196 More aggressive block cache invalidation for declarations with type inference 2012-06-08 22:53:17 +04:00