Commit Graph

12712 Commits

Author SHA1 Message Date
Svetlana Isakova d1fa39dee4 got rid of 'this' reference to constraint system in its resulting substitutor 2013-11-01 15:26:12 +04:00
Andrey Breslav c3614c46cd Do not keep scopes in the trace for CLI compiler 2013-11-01 15:26:12 +04:00
Svetlana Isakova 491305ff34 todo test improved analysis of unary expressions
added explicit 'isUnaryExpressionDependentOnExpectedType' check
2013-11-01 15:26:11 +04:00
Svetlana Isakova c0890ccc37 improved debug message for temporary traces
added file name
2013-11-01 15:26:11 +04:00
Svetlana Isakova af194ba2e8 added debugName to MemberType 2013-11-01 15:26:11 +04:00
Svetlana Isakova 381fd35e3e do not store context in CallForImplicitInvoke 2013-11-01 15:26:11 +04:00
Andrey Breslav b726b5070a Do not use a method that is not present in some versions fo JPS 2013-10-31 18:31:00 +04:00
Mikhael Bogdanov 3ee9b8cbc5 Code rearrangment 2013-10-31 16:48:31 +04:00
Mikhael Bogdanov ee2a30f34f KT-4152 Wrong postfix increment/decrement calculation
#KT-4152 Fixed
2013-10-31 16:48:24 +04:00
Mikhael Bogdanov 7857dc5ba9 KT-3812 Can't work with akka via kotlin - java.lang.AssertionError: Couldn't resolve class *$
KT-4036 Couldn't resolve inner class akka.io.Tcp.Command.class

 #KT-3812 Fixed
 #KT-4036 FIxed
2013-10-31 16:42:54 +04:00
Mikhael Bogdanov c325dfffd9 KT-3523: VerifyError for invoke function in inner class
KT-4106: VerifyError: Can't access outer this in a lambda in inner class' constructor
KT-3152: VerifyError when accessing from a function of object to a field of outer outer class

  #KT-3523 Fixed
  #KT-4106 Fixed
  #KT-3152 Fixed
2013-10-31 16:42:53 +04:00
Mikhael Bogdanov 10396b853a Code block reorganization 2013-10-31 16:42:53 +04:00
Mikhael Bogdanov 318214b9d7 Capturing this in constructor context
KT-4086 VerifyError creating anonymous object in constructor
 #KT-4086 Fixed
2013-10-31 16:42:53 +04:00
Mikhael Bogdanov 936c0a0ae9 Lazy calculation of outer expression 2013-10-31 16:42:51 +04:00
Mikhael Bogdanov 47cd9a71a2 Inline local var 2013-10-31 12:31:39 +04:00
Mikhael Bogdanov 1e5b250d01 Remove redundant parameter 2013-10-31 12:31:38 +04:00
Mikhael Bogdanov c76c2d3dff Calculation whether class is inner via 'isInner' method 2013-10-31 12:31:38 +04:00
Mikhael Bogdanov fb39217dc3 KT-4140 VerifyError: Property in class object
#KT-4140  Fixed
2013-10-31 12:31:22 +04:00
Nikolay Krasko 12bdf557fa More annotations for Idea 132.844
(cherry picked from commit cd01ed95de1ae36236f5ae3f4c99854e0fe9fe14)
2013-10-30 19:59:24 +04:00
Zalim Bashorov 1c1c138046 Update to IDEA 132.839 EAP 2013-10-30 19:37:14 +04:00
Zalim Bashorov 1cf8c88d28 JS backend: fixed bug when call native function with custom name using spread operator. 2013-10-29 22:44:49 +04:00
Zalim Bashorov d6803fb5ff JS backend: fixed ability to declare custom name for native properties and function parameters.
#KT-3643 fixed
2013-10-29 22:44:49 +04:00
Pavel V. Talanov 3e205d162e Formatting: exactly one space after if keyword 2013-10-29 21:03:39 +04:00
Pavel V. Talanov 77d316902c Formatting: exactly one space after for keyword 2013-10-29 21:03:38 +04:00
Pavel V. Talanov e19373cac7 Hack that adds more convenient defaults for J2K, minimal test for these defaults 2013-10-29 21:03:37 +04:00
Pavel V. Talanov a649eb52cf J2K: Do not specify type of for loop parameter 2013-10-29 21:03:36 +04:00
Pavel V. Talanov 28f3d692ab Apply reformat code and optimize imports to kotlin code in j2k
Minor: remove Unit return types
2013-10-29 21:03:35 +04:00
Pavel V. Talanov 2a5657e0e6 Convert JavaToKotlinTranslator, StandaloneJavaToKotlinConverterTest, TestCaseBuilder to Kotlin 2013-10-29 21:03:34 +04:00
Pavel V. Talanov 44ffe2905d Build: compile j2k module with Kotlin 2013-10-29 21:03:34 +04:00
Pavel V. Talanov 212c4f62d3 Delete commented out code 2013-10-29 21:03:33 +04:00
Pavel V. Talanov 5e254f6edb Copyright generated for new version of Java to Kotlin converter 2013-10-29 21:03:32 +04:00
Pavel V. Talanov 789a069647 j2k module depends on descriptor.loader.java 2013-10-29 21:03:31 +04:00
Pavel V. Talanov 10b80ca2b7 Rollback facade classes to main repo version 2013-10-29 21:03:30 +04:00
Pavel V. Talanov 375951798e Prepare repository for merge into master 2013-10-29 21:03:29 +04:00
Pavel Talanov 8537254b6f Adapt changes from main repo:
converted enums contain name() method
by Andrey Ponomarev
2013-10-29 21:03:28 +04:00
Pavel Talanov 01a1c75588 Adapt changes from main repo:
Detect @NotNull fields
Detect @NotNull reference in call chains
Enum constants are non-nullable
by Andrey Ponomarev
2013-10-29 21:03:27 +04:00
Pavel Talanov aceeebdcfd Adapt changes from main repo:
Remove @author javadoc by Evgeny Gerashchenko
2013-10-29 21:03:26 +04:00
Pavel Talanov 2c151fd7fc Adapt changes from main repo:
Remove findRT.jar by Natalia Ukhorskaya
2013-10-29 21:03:25 +04:00
Alexander Udalov a57bb45323 Adapt to updates in Kotlin compiler API
Fix errors/warnings
2013-10-29 21:03:24 +04:00
Evgeny Gerashchenko dfae4b606b Fixed references after renaming Name.getName()->asString() 2013-10-29 21:03:23 +04:00
Andrey Breslav 4e8d14024c Compilation fixed 2013-10-29 21:03:22 +04:00
Mikhael Bogdanov 79396b5079 FqName.isValid replaced with QualifiedNamesUtil.isValidJavaFqName 2013-10-29 21:03:22 +04:00
Hozum f6d367b7d0 Fixed switch statement 2013-10-29 21:03:21 +04:00
Mikhael Bogdanov 7ae18fc94c Build fix: "Duplicate method name&signature in class file" 2013-10-29 21:03:20 +04:00
Hiroyuki Ikegami a5b571f91c fix formatting 2013-10-29 21:03:19 +04:00
Hiroyuki Ikegami 8c66f744b4 fix a bug which is converting from for(;;) to while() 2013-10-29 21:03:18 +04:00
Santeri Hiltunen 55c00b08e7 Made foreach work with nullable iterables 2013-10-29 21:03:17 +04:00
Santeri Hiltunen 475d02a80f Convert Java lists to MutableLists
Java lists were given jet.List type, which is incorrect, since Java
lists are mutable and jet.List is immutable. Fixed test cases.
2013-10-29 21:03:16 +04:00
Aleksi Majander c701da8506 Renamed myParamList to starParamList and fixed tests 2013-10-29 21:03:15 +04:00
Aleksi Majander f68fe0bc38 Fixed an issue with Any? type declarations 2013-10-29 21:03:15 +04:00