Commit Graph

2141 Commits

Author SHA1 Message Date
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
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
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
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
Alex Tkachman e19acf4922 LockPerf benchmark 2011-12-19 15:57:48 +02:00
Alex Tkachman 2ae3e9e6c6 Thread.kt 2011-12-19 15:55:00 +02:00
Alex Tkachman 1e471aa9c4 synchronized method 2011-12-19 10:21:17 +02:00
Alex Tkachman 9a7d947899 constant for Function0 added 2011-12-19 09:26:04 +02:00
Alex Tkachman c6b69cad2c test for obsolete KT-772 2011-12-19 07:47:26 +02:00
James Strachan 7e93494e2f renamed the sort() methods on Iterable which create a new List and sort that as "toSortedList()" instead which is more accurate. 2011-12-18 08:15:39 +00:00