Commit Graph

7299 Commits

Author SHA1 Message Date
Svetlana Isakova ec556e2abc val hasNext changed to fun in test 2012-08-16 18:39:24 +04:00
Svetlana Isakova d2e33c8900 tests for obsolete/fixed issues
#KT-1038 fixed
 #KT-1127 fixed
 #KT-1145 fixed
 #KT-1410 fixed
 #KT-1718 fixed
 #KT-2286 fixed
 #KT-1431 fixed
 #KT-2394 fixed
2012-08-16 18:39:24 +04:00
Svetlana Isakova fc858aec59 comments improved 2012-08-16 18:39:24 +04:00
Svetlana Isakova 96d99d19f3 generates remove method
throwing exception
in Kotlin class extending Iterator
2012-08-16 18:39:24 +04:00
Svetlana Isakova 293452e375 removed not further generated file
from standard library
2012-08-16 18:39:24 +04:00
Svetlana Isakova f3146a9697 hasNext changes to fun in js tests 2012-08-16 18:39:24 +04:00
Svetlana Isakova a5aaa3dadc remove java's Iterator,Iterable
from java script mirror to java standard library
2012-08-16 18:39:24 +04:00
Svetlana Isakova 6625c8987b removed unnecessary reference
to java.util.Iterator
2012-08-16 18:39:24 +04:00
Svetlana Isakova 1b28604268 java Iterable/Iterator replaced to jet ones
in completion, js tests
2012-08-16 18:39:23 +04:00
Svetlana Isakova 240fcf8599 fix 'Generate imports' action
(substitute type arguments)
overridden shouldn't be original
2012-08-16 18:39:23 +04:00
Svetlana Isakova 396588f0c3 added jet.Iterator in import
(KT-2606 to avoid it)
2012-08-16 18:39:23 +04:00
Svetlana Isakova 77ef3d34ab not to generate extensions
to java Iterable/Iterator
2012-08-16 18:39:23 +04:00
Svetlana Isakova 2c0ec86603 hasNext invocation changed 2012-08-16 18:39:23 +04:00
Svetlana Isakova 266cd5d4e7 not generate methods for java Iterable/Iterator
in standard library
2012-08-16 18:39:23 +04:00
Svetlana Isakova ca6d7e643e use kotlin Iterable/Iterator
instead of java Iterable/Iterator
in Kotlin code in library
2012-08-16 18:39:23 +04:00
Svetlana Isakova df93a26839 use kotlin Iterable/Iterator
instead of java Iterable/Iterator
in Kotlin code in tests
2012-08-16 18:39:23 +04:00
Svetlana Isakova 701295fc04 removed kotlin Iterable, Iterator
from kotlin runtime
inner classes 'MyIterator' renamed (it appeared in error messages)
2012-08-16 18:39:23 +04:00
Svetlana Isakova 7f9c332326 added mapping for Iterable
jet.Iterable -> java.lang.Iterable
 jet.Iterator -> java.util.Iterator
 in generating java byte code
2012-08-16 18:39:23 +04:00
Svetlana Isakova 3d1f71b355 added mapping for Iterable:
java.lang.Iterable -> jet.Iterable
 java.util.Iterator -> jet.Iterator
 in java classes loading
2012-08-16 18:39:23 +04:00
Svetlana Isakova e1281953e7 tests changed
val hasNext -> fun hasNext()
2012-08-16 18:39:23 +04:00
Svetlana Isakova f96fe4879a changed val hasNext to fun hasNext()
in Iterator
2012-08-16 18:39:23 +04:00
Svetlana Isakova 65ddcd0473 No repeat 'many impl member not implemented' error
in a subclass if there is one in a superclass
2012-08-16 18:39:23 +04:00
Svetlana Isakova 6e67bd64fa test for KT-2407
#KT-2407 fixed
2012-08-16 18:39:22 +04:00
Alex Tkachman eb608f2ae9 green code 2012-08-16 17:05:23 +03:00
Pavel V. Talanov 72d8de3b7b Merge remote-tracking branch 'origin/master' 2012-08-16 17:54:20 +04:00
Alex Tkachman 17a9772fee test for obsolete KT-1649 2012-08-16 15:48:45 +03:00
Pavel V. Talanov 358d8fe658 Use packaged js libraries from dist in maven browser-example target. 2012-08-16 15:18:00 +04:00
Pavel V. Talanov ced3209170 Merge remote-tracking branch 'origin/master' 2012-08-16 13:21:49 +04:00
Pavel V. Talanov 06160d0897 Use packaged js libraries from dist in maven kotlin-js-tests-junit target. 2012-08-16 13:20:08 +04:00
Andrey Breslav 0b054f224c "open" in final class is a warning now 2012-08-16 11:09:54 +04:00
Alex Tkachman ca615aac3d KT-2350 fix: enums with overrides and constructor parameters 2012-08-15 20:25:35 +03:00
Nikolay Krasko 1fe28802aa Increase minimum version for required IDEA to next EAP as trunk is not compatible with 120.305 anymore 2012-08-15 18:26:02 +04:00
Andrey Breslav ee5f598836 Wrong test data fixed (previously commited by mistake) 2012-08-15 18:11:47 +04:00
Alex Tkachman ca33712b00 making code greener and properly formatted 2012-08-15 17:08:43 +03:00
Alex Tkachman 813c7d0871 test for obsolete KT-1119 & proper final flag for enum class with entries overriding methods/properties 2012-08-15 16:06:06 +03:00
Alex Tkachman 31db3456ca enum entries which overrides methods 2012-08-15 15:56:34 +03:00
Andrey Breslav 00305ba920 Fixing interdependency between delegation and fake overrides
Main changes sit in OverrideResolver::generateOverridesAndDelegationInAClass()

Now fake overrides AND delegation are generated for supertypes before any processing is done for subclasses.
2012-08-15 16:15:04 +04:00
Andrey Breslav 734a9a02ef Extract method for clarification 2012-08-15 13:39:20 +04:00
Andrey Breslav e7e7188da1 LR: values() and valueOf() created properly for enums' class objects 2012-08-15 13:34:51 +04:00
Andrey Breslav 24b83dd8f7 Getting rid of unneeded parameters
+ constants introduced
2012-08-15 13:34:18 +04:00
Andrey Breslav 5ee995b8cb Type fixed 2012-08-15 13:02:12 +04:00
Andrey Breslav 2904866356 Useless final removed 2012-08-15 12:59:53 +04:00
Andrey Breslav 22f8ca4bee resolveSupertypes() refactored
* ClassDescriptor passed explicitly, psi-based checks and trace reading eliminated
* some clarifying renames/extractions made
2012-08-15 12:59:53 +04:00
Andrey Breslav fb72a4d1f2 Formatting 2012-08-15 12:59:53 +04:00
Alex Tkachman 87a8e0a5dc enum classes are never inner 2012-08-15 10:44:33 +03:00
Nikolay Krasko f817b04f84 Now IdeaWin*.dll libraries can be correctly loaded from bin directory so there's no need to copy them 2012-08-15 11:33:30 +04:00
Nikolay Krasko 8472e77ccb Remove hack with supressing "Virtual pointer hasn't been disposed" exception after detaching library. 2012-08-15 11:33:30 +04:00
Nikolay Krasko c38453f4ab Fix formatting 2012-08-15 11:33:29 +04:00
Alexander Udalov 90c7683f3c classNamesForPosition always returns one class name 2012-08-14 22:30:27 +04:00
Alexander Udalov 0adf6d615a JetPositionManager now correctly calculates class names for a given position 2012-08-14 22:30:27 +04:00