Commit Graph

4491 Commits

Author SHA1 Message Date
James Strachan 89038227d8 first spike attempting to implement KT-1453 though hit a compiler error 2012-03-29 08:58:58 +01:00
James Strachan 316372f8b5 minor change to allow CompilerPlugins to be registered programatically 2012-03-29 08:48:28 +01:00
Stepan Koltsov 5bef29870d more di in jvm.codegen 2012-03-29 01:37:02 +04:00
Stepan Koltsov 1e330fe0a0 jvm.backend: get JetStandardLibrary from analyzer
This is a big step towards removal of JetStandardLibrary.getInstance()
2012-03-29 01:03:44 +04:00
Stepan Koltsov 12c27d42c2 remove outdated comment 2012-03-28 23:56:37 +04:00
Stepan Koltsov ca30e7b67b rename class 2012-03-28 23:56:34 +04:00
Stepan Koltsov 6488d65259 rename method 2012-03-28 23:56:33 +04:00
Stepan Koltsov 231a4d9940 injector for JVM codegen 2012-03-28 23:39:03 +04:00
Stepan Koltsov 182f6d9897 di: objects of generic types 2012-03-28 23:38:59 +04:00
Stepan Koltsov e73b3621e7 fix resolution of ArrayList.add in some environments 2012-03-28 22:12:25 +04:00
Stepan Koltsov 4f009ff24c prohibit empty named member group 2012-03-28 22:12:22 +04:00
James Strachan 9b434490c5 Merge pull request #32 from franckrasolo/master
#KT-1653 Fixed
2012-03-28 11:03:07 -07:00
Nikolay Krasko 77652a9df8 KT-1254 "Implement members" gives strange result when implementing a method returning function type
#KT-1254 fixed
2012-03-28 21:34:22 +04:00
Pavel V. Talanov befe3246cc Add some TODOs based on code coverage.
Fix some typos and minor code issues.
2012-03-28 21:20:38 +04:00
Pavel V. Talanov 87381a06a7 Test for inline dangerous expressions.
Better FindPreviousVisitor#hasDangerous implementation.
2012-03-28 21:20:38 +04:00
Nikolay Krasko 31ceb1e7df KT-1636 Idea consumes the whole heap with Kotlin plugin
#KT-1636 fixed
2012-03-28 20:58:36 +04:00
Pavel V. Talanov e9f78b6fe2 Add test for another case. 2012-03-28 19:44:50 +04:00
Pavel V. Talanov fd1d6e8dfc Support inline for simple extension function case. 2012-03-28 19:42:57 +04:00
Pavel V. Talanov b80b7a9050 Eliminate references of the callee in CallTranslator. 2012-03-28 19:42:56 +04:00
Pavel V. Talanov 003182f499 Big refactoring of CallTranslator. 2012-03-28 19:42:56 +04:00
Pavel V. Talanov 9b2dc6f584 More cases supported for inline functions: namespace level functions with parameters (not blocks) 2012-03-28 19:42:55 +04:00
Pavel V. Talanov 8843bac989 First stab at inline functions. 2012-03-28 19:42:54 +04:00
Andrey Breslav 0a42abc7c9 KT-1152 Only allow annotation classes to be instantiated as annotations
#KT-1152 Fixed
2012-03-28 19:40:45 +04:00
Andrey Breslav 25a972cd80 Removing the unnecessary class 2012-03-28 19:04:17 +04:00
Andrey Breslav 5776fec84c EA-34595 - ISE: MutableClassDescriptorLite.addSupertype 2012-03-28 18:58:09 +04:00
Andrey Breslav a89f6a2710 Fixing EA-35207 - assert: JetCompiler$CompilerProcessListener$CompilerMessage.reportTo 2012-03-28 18:58:09 +04:00
Franck Rasolo ca4f552245 KT-1653 Implemented map, flatMap, take, takeWhile, join, and toString for iterators, #KT-1653 Fixed 2012-03-28 15:55:27 +01:00
Stepan Koltsov c68d9c62f6 Do not show fake overrides in decompiler
#KT-1658 Fixed

No test, sorry
2012-03-28 18:28:16 +04:00
Andrey Breslav 7714f84dd8 KT-222 Grammar Docu of objectLiteral slightly wrong
#KT-222 Fixed
2012-03-28 16:48:31 +04:00
Andrey Breslav 32e1018ace KT-219 Grammar issue in delegationSpecifier
#KT-219 Fixed
2012-03-28 16:42:16 +04:00
Evgeny Gerashchenko eacb89171e Added navigation to class object members. 2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko d0751b5c11 Added LibrariesWithSourcesTest. 2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko 0aee30f92f Implemented optional adding library sources in AbstractLibrariesTest.setUp() 2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko a314fc929e Extracted AbstractLibrariesTest from LibrariesTest, renamed it to LibrariesWithoutSourcesTest. 2012-03-28 15:02:25 +04:00
Evgeny Gerashchenko e0f8521f1e Moved decompiled files in testdata of LibrariesTest to separate folder. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 46e748fce5 Added overloaded and extension functions to LibrariesTest. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 79a8c4ae9b Improved sorting members in DecompiledDataFactory. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 62f4244e5a Added check for dumb mode in JetSourceNavigationHelper. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 6274c0b12e Optimized navigation to sources a little bit by using per-file cache. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko ff739c7aa8 Optimized JetSourceNavigationHelper. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 7f71c09049 Added sources to Kotlin runtime. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 353c3459eb Added distinguishing type parameters. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 129b508444 Added dummy navigation to functions (without distinguishing parameter types yet). 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 888a69b26a Extracted from getSourceProperty() part which would be common for finding functions and properties. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko a2f7df4fcd Added navigation to namespace properties. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 9d0fae9650 Made navigation to member properties aware of properties which are defined as constructor parameters. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 76a5a10ac1 Extracted getting all library source dirs and building binding context for library from JetSourceNavigationHelper.getSourceClass(). 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko a86c3a5fa3 Added navigation to source for class properties. 2012-03-28 15:02:24 +04:00
Evgeny Gerashchenko 2b52caf1fe Added navigation to source classes. 2012-03-28 15:02:24 +04:00
Pavel V. Talanov 582259ffda Support for inline in front-end. Add SimpleFunctionDescriptor#isInline. 2012-03-28 14:25:09 +04:00