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
Stepan Koltsov
a4bd86d779
remove outdated noise
2011-12-20 20:13:09 +04:00
Alex Tkachman
d37c6976b1
methods for iterators and filters
2011-12-20 15:56:10 +02:00
Alex Tkachman
117f03cbbf
System.timeMillis method renamed to measureTimeMillis and measureTimeNano added
2011-12-20 12:54:21 +02:00
Andrey Breslav
0134276930
Merge remote branch 'origin/master'
2011-12-20 14:21:59 +04:00
Andrey Breslav
4d4a45f79a
KT-860 ConcurrentModificationException in frontend
2011-12-20 14:21:45 +04:00
Alex Tkachman
63cb29f912
System.timeMillis method
2011-12-20 11:24:08 +02:00
Alex Tkachman
ccdc80d1fe
fix for while-loop-ending-with-if bug
2011-12-20 11:23:13 +02:00
Maxim Shafirov
c27885b74f
Stable classnames for object declarations whose type is exposed to java clients.
2011-12-20 10:30:11 +03:00
Alex Tkachman
78a2845604
better error reporting
2011-12-20 09:17:16 +02:00
Stepan Koltsov
50400fd707
ReadClassDataTest: trait
2011-12-20 00:28:30 +04:00
Stepan Koltsov
c1bc5ceb99
enable class content serialization in ReadClassDataTest; add test for function params with upper bounds
2011-12-20 00:28:27 +04:00
Stepan Koltsov
c68f1e2409
work around javac bug, fix tests
2011-12-19 23:21:52 +04:00
Nikolay Krasko
23f4f80a52
Make a parameterized test
2011-12-19 21:42:33 +04:00
Stepan Koltsov
bf751bfa98
read upper bound from jet signature, merge dup code
2011-12-19 21:36:46 +04:00
Stepan Koltsov
f0dfa436ad
create TypeParameterDescriptorInitialization
2011-12-19 21:36:34 +04:00
Stepan Koltsov
67ca049683
TypeParameterDescriptor.initialized
...
Internal state checks
Also add a missing initialization
2011-12-19 21:36:03 +04:00
Stepan Koltsov
dfdd5959d3
working on type type from class importer, properly initialize TypeParameterDescriptor
2011-12-19 21:35:56 +04:00
Nikolay Krasko
d88cd7752b
Try to fix test
2011-12-19 20:49:21 +04:00
Dmitry Jemerov
e3cdb05866
remove extension registration which is now taken care of by JavaCoreEnvironment
2011-12-19 17:41:57 +01:00
Nikolay Krasko
17e8a2663d
KT-805 Auto import on code completion insert (multifile test)
2011-12-19 19:32:02 +04:00