Maxim Shafirov
86bb01edcf
Correct inner/outer class relation in kotlin => java run
2011-12-21 09:07:21 +03:00
Maxim Shafirov
dd614569c0
Class objects are statics. I guess top level classes shall be static as well
2011-12-21 09:07:20 +03:00
James Strachan
85889a3762
Merge branch 'master' of git+ssh://git.labs.intellij.net/jet
2011-12-21 16:27:22 +00:00
James Strachan
894c84190a
migrated most of the test cases over to the new -> syntax for functions; still can't compile or run the tests yet though :(, needs more work...
2011-12-21 16:26:37 +00:00
Andrey Breslav
e0d93745c4
Merge remote-tracking branch 'origin/master'
2011-12-21 17:44:15 +02:00
Andrey Breslav
04696d47f3
Devclub slides
2011-12-21 17:41:09 +02:00
Stepan Koltsov
ec239e89ae
fix tests broken yesterday
...
sorry, everyone
2011-12-21 17:03:24 +04:00
Nikolay Krasko
9c5ff3fa7f
Refactoring: move main completion resolver out of Idea plugin.
2011-12-21 16:21:24 +04:00
James Strachan
aaf18bdd86
Merge branch 'master' of git+ssh://git.labs.intellij.net/jet
2011-12-21 10:10:12 +00:00
James Strachan
232d161e99
added a little helper method for processing a closeable object which then makes sure the resource is closed (like the try-with-resource extension in Java 7)
2011-12-21 10:09:55 +00:00
Andrey Breslav
529bcaf921
GreatSyntacticShift: shift action removed
2011-12-21 11:51:40 +02:00
Andrey Breslav
889c7c0002
GreatSyntacticShift: erroneous fix reverted
2011-12-21 11:48:24 +02:00
Andrey Breslav
f67c6549eb
GreatSyntacticShift: Codegen testdata fixed
2011-12-21 11:45:50 +02:00
Andrey Breslav
2d1c529dd1
Merge remote-tracking branch 'origin/master'
2011-12-21 11:37:40 +02:00
Andrey Breslav
a3880923e1
GreatSyntacticShift: Disable complex token merging in type ref parsing, to fulfill kt307.jet test
2011-12-21 11:30:06 +02:00
Andrey Breslav
f73b7522b9
GreatSyntacticShift: CheckerTestUtilTest fixed
2011-12-21 11:26:47 +02:00
Andrey Breslav
3808bff1ce
GreatSyntacticShift: Checker test data fixed
2011-12-21 11:24:04 +02:00
Andrey Breslav
46832aaa5d
GreatSyntacticShift: Resolve test data fixed
2011-12-21 11:08:31 +02:00
Andrey Breslav
4d644f1f0b
GreatSyntacticShift: Type checker test data fixed
2011-12-21 11:06:06 +02:00
Andrey Breslav
91d10790b4
GreatSyntacticShift: Parser test data fixed
2011-12-21 10:57:09 +02:00
Andrey Breslav
6bad4830c3
Graet Syntactic Shift : Syntax for function literals fixed
2011-12-21 10:52:58 +02:00
Nikolay Krasko
a279d27318
Cache collection of jet files for scope
2011-12-21 12:18:29 +04:00
Alex Tkachman
4fb7d95247
commented test for KT-857
2011-12-21 10:05:26 +02:00
Stepan Koltsov
ad795d958f
check $$TImpl class is not visible through JavaDescriptorResolver
2011-12-21 00:34:50 +04:00
Stepan Koltsov
6aca83b74b
JvmAbi class with JVM-related Kotlin constants
2011-12-21 00:34:47 +04:00
Stepan Koltsov
f04e470f03
rename StdlibNames
2011-12-21 00:34:43 +04:00
Stepan Koltsov
0655a5de85
reading abstract and final modifiers from binary classes
2011-12-21 00:07:00 +04:00
Stepan Koltsov
c858de758e
reading varargs
...
generics do not work yet:
===
fun <P> varargGeneric(a: Int, vararg b: P) = 1
===
2011-12-20 23:28:46 +04:00
Stepan Koltsov
6bee77715d
reading functions with default args
2011-12-20 23:00:12 +04:00
Stepan Koltsov
6830adc359
minor issue in JavaDescriptorResolver @JetParameterValue reader
2011-12-20 23:00:07 +04:00
Andrey Breslav
6aad3b2662
GreatSyntacticShift: Codegen testdata fixed
2011-12-20 22:56:13 +04:00
Andrey Breslav
41fd43b5e5
GreatSyntacticShift: Syntax for function types, function literals, when and tuples
...
Bug:
fun loop(var times : Int) {
while(times > 0) {
val u : (value : Int) -> Unit = { // This arrow is confusing the lookahead
System.out?.println(it)
}
u(times--)
}
}
2011-12-20 22:55:25 +04:00
Stepan Koltsov
914b5487b4
one more ext function test
2011-12-20 22:39:21 +04:00
James Strachan
c9959a10f9
added a couple of helper methods to Map to be able look up in a Map with function to provide a default value
2011-12-20 18:06:58 +00:00
James Strachan
c3b41a5931
removed a TOD section
2011-12-20 17:56:31 +00:00
James Strachan
212160fa47
added Array<T>.to(collection) too, along with simpler more DRY one liners for arrayList(), linkedList() and hashSet() helper functions
2011-12-20 17:46:26 +00:00
James Strachan
b22945ddc1
Merge remote-tracking branch 'origin/master'
2011-12-20 17:28:53 +00:00
James Strachan
de4b0a4601
added Alex's to(collection: Collection<T>) helper method and simple 1 liners for toList / toLinkedList / toSet etc
2011-12-20 17:27:22 +00:00
svtk
0dc31ae71f
Merge remote-tracking branch 'origin/master'
2011-12-20 21:03:45 +04:00
James Strachan
68d527c839
removed some warnings and reduntant code
2011-12-20 17:02:30 +00:00
svtk
49f8021c56
Merge remote-tracking branch 'origin/master'
2011-12-20 20:54:43 +04:00
James Strachan
6d19741394
Merge branch 'master' of git+ssh://git.labs.intellij.net/jet
2011-12-20 16:29:48 +00:00
James Strachan
ad9a83854e
added an optional project which just contains the stdlib and testlib (I was having issues trying to use everything together when trying to just work on stdlib/testlib)
2011-12-20 16:29:38 +00:00
James Strachan
fee6bed2d4
removed the create() methods; added linkedList<T>(varargs) helper method and made filter/flatMap/map all allow an optional argument for the kind of collection to filter/flatMap/map into. I've temporarily commented out Alex's implementation of Iterable.filter in Filters.kt as I was getting all kinds of compile error messages. Will discuss this on the list & how better to organise the functions into files
2011-12-20 16:28:18 +00:00
Stepan Koltsov
02111687d2
missing Trait test in ReadClassDataTest
2011-12-20 20:15:42 +04:00
svtk
c92159bb1f
bug with multifile frontend tests fixed
2011-12-20 20:14:47 +04:00
Stepan Koltsov
7deb8b8cdc
ignore my local tests
2011-12-20 20:14:05 +04:00
svtk
66bbddf217
changed imports resolve
2011-12-20 20:14:04 +04:00
Stepan Koltsov
d9ceda7743
reading extension functions from binary classes
2011-12-20 20:13:16 +04:00
Stepan Koltsov
b48d4b4ab1
remove weird call to get this
2011-12-20 20:13:13 +04:00