Commit Graph

5447 Commits

Author SHA1 Message Date
Stepan Koltsov ff2b190f2d shared copy of empty ImmutableArrayList 2012-05-18 15:04:38 +04:00
Stepan Koltsov cdaf8523ed use internal val instead of fun 2012-05-18 15:04:01 +04:00
Stepan Koltsov e2a875286b ImmutableArrayList.subList: return this if fromIndex = 0 and toIndex = length 2012-05-18 15:03:10 +04:00
Stepan Koltsov 32f83f0587 ImmutableArrayList: better exception types and messages 2012-05-18 15:02:53 +04:00
Stepan Koltsov 4273eea502 make listBuilder public 2012-05-18 15:02:32 +04:00
Stepan Koltsov c40bb8c9b3 ImmutableArrayList and listBuilder() prototype
TODO: lots of improvements, documentation, tests
2012-05-17 16:37:21 +04:00
Stepan Koltsov 942777205c Array.copyOf may produce nulls 2012-05-17 16:37:00 +04:00
Evgeny Gerashchenko 108dd156af Creating library under project directory in library tests. Hope this prevents them from blinking. 2012-05-16 21:07:44 +04:00
Evgeny Gerashchenko 979252ee43 Added tooltips on hovering declaration names. 2012-05-16 19:57:03 +04:00
Evgeny Gerashchenko 41547488a6 Enabled "Field may be final" inspection. 2012-05-16 19:57:02 +04:00
pTalanov ce896f931a Issue related to KT-1962
Correctly reference this object in wrapped function literal
2012-05-16 19:30:23 +04:00
pTalanov 31a1aefeb5 K2JSBrowserProgramRunner copies output JavaScript file from output dir instead of generating JavaScript againg 2012-05-16 18:17:24 +04:00
pTalanov c8fe0080c7 Fix compilation for maven build 2012-05-16 17:43:12 +04:00
pTalanov feaf218836 Cosmetics 2012-05-16 17:43:11 +04:00
Evgeny Gerashchenko 3b95ba798e Added navigation to YouTrack issues from commit messages. 2012-05-16 17:12:06 +04:00
pTalanov 53ebe5325f Move util methods from K2JSTranslator to FacadeUtils class 2012-05-16 15:18:40 +04:00
pTalanov fe0295c7bb Add facade method to AnalyzingFacadeForJs (for Web Demo) 2012-05-16 14:24:03 +04:00
Evgeny Gerashchenko 58a3ec1e73 Showing receiver types in the IDE errors for NONE_APPLICABLE/AMBIGUITY
#KT-1997 fixed
2012-05-16 13:24:39 +04:00
pTalanov 82426e605d Fix symbol in comments 2012-05-15 22:48:55 +04:00
Stepan Koltsov 67589e9d86 simplify code in OverrideResolver 2012-05-15 22:45:11 +04:00
Stepan Koltsov 448260fc3e KT-1996 Missing ABSTRACT_MEMBER_NOT_IMPLEMENTED when two supertypes contains same abstract member
===
trait Foo {
    fun foo(): Unit
}

trait Bar {
    fun foo(): Unit
}

class Baz : Foo, Bar // no error here
===

#KT-1996 fixed
2012-05-15 22:45:11 +04:00
Stepan Koltsov 67b19c1881 fix generate.javadoc property 2012-05-15 22:45:11 +04:00
pTalanov 6d414ba222 Mark the tests which are failing with EcmaVersion.v5 and exclude them 2012-05-15 22:20:15 +04:00
pTalanov 43c168baef Make js.tests perform each test with different Ecma versions
This leads to tests failing
2012-05-15 22:20:15 +04:00
pTalanov 3bab6bee93 Make tests aware of different ecma versions
Introduce version parameters in relevant test methods
2012-05-15 22:20:14 +04:00
pTalanov a9af4960cb Introduce some convenience methods related to EcmaVersion 2012-05-15 22:20:13 +04:00
pTalanov b75b60f710 Move EcmaVersion class to upper level
Extract EcmaVersion#fromString static method
2012-05-15 22:20:12 +04:00
pTalanov b9b9e46275 Clean up and stylistic changes after merging in https://github.com/JetBrains/kotlin/pull/55 2012-05-15 22:20:11 +04:00
develar e0be72d5b5 http://devnet.jetbrains.net/thread/436214?tstart=0 2012-05-15 22:20:10 +04:00
Leonid Shalupov c6223fc0c2 stream integration test logs 2012-05-15 20:09:40 +02:00
Leonid Shalupov c689840eee jdk -> alt 2012-05-15 18:21:35 +02:00
Leonid Shalupov 734b60bb67 Merge pull request #51 from detouched/maven-plugin-test
maven plugin: uncommented invoker plugin but commented phase binding.
2012-05-15 07:57:35 -07:00
Leonid Shalupov a8951284ac libraries: jdkHeaders -> altHeaders 2012-05-15 16:49:06 +02:00
Leonid Shalupov 81d20dcf4b build.xml: make it green 2012-05-15 16:27:05 +02:00
Evgeny Gerashchenko 15f6e7403e Renamed jdkHeaders to altHeaders in all places where it makes sense. 2012-05-15 15:19:55 +04:00
Evgeny Gerashchenko 4ab2588cbd Made compiler aware of multiple alt-header paths. 2012-05-15 15:19:55 +04:00
Evgeny Gerashchenko 554280a1b3 Changed case of file name (localParameterInCallback.kt) to fix tests. 2012-05-15 15:11:10 +04:00
Evgeny Gerashchenko e294a8821f Introduced JetStandardClasses.UNIT_ALIAS constant, got rid of hard-coding it in all code except for tests. 2012-05-15 12:40:01 +04:00
Evgeny Gerashchenko 151b3be99e Got rid of hardcoded "jet" and "jet.Tuple0" constants in StandardLibraryReferenceResolver. 2012-05-15 12:30:28 +04:00
pTalanov 1b516d2786 Issue related to KT-1962 2012-05-14 18:00:39 +04:00
Andrey Breslav cf3091adb5 Data flow info always taken into account in safeGetType()
The dangerous method removed
2012-05-13 12:58:50 +04:00
Stepan Koltsov cccff99d9e fix tests 2012-05-13 03:47:52 +04:00
Stepan Koltsov 8c8ed3a1ee KT-1388 Parse static final fields from java binary classes as non-null
#KT-1388 Fixed
2012-05-13 00:53:37 +04:00
Stepan Koltsov ae58c1c888 better comparison of vararg signatures in Read*BinaryClassTest 2012-05-12 22:28:39 +04:00
Stepan Koltsov f061fce9a8 properly read vararg signature from java code
KT-1694 Java vararg override, Why is it intuitive interface?

#KT-1694 Fixed
2012-05-12 22:21:09 +04:00
Evgeny Gerashchenko 78914d0157 Merge branch 'master' of git+ssh://github.com/JetBrains/kotlin 2012-05-12 21:58:41 +04:00
Evgeny Gerashchenko b0c0173924 Removed test for KT-1666, since navigation to standard libraries is working normally now (instead of navigation to the same source). 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko 6f3f1a11f4 Added test cases for StandardLibraryReferenceResolverTest. 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko cfb0844706 Added test microframework and simple test for checking resolving of references to standard library. 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko a7f3e12aec Added test checking that StandardLibraryReferenceResolver returns not null for all members of jet namespace. 2012-05-12 21:56:44 +04:00