Commit Graph

3233 Commits

Author SHA1 Message Date
James Strachan e87de1ac13 Merge remote-tracking branch 'origin/master' 2012-02-20 15:39:12 +00:00
James Strachan 094d5d2e70 added a few classes for doing property change listening (using pure kotlin code so its easier to work with JS and Java) 2012-02-20 15:38:34 +00:00
Nikolay Krasko 80a40ae175 Rename folders with tests. 2012-02-20 19:31:00 +04:00
James Strachan 8597188bcc added teamcity link 2012-02-20 15:02:04 +00:00
Evgeny Gerashchenko c5091adf14 Made BytecodeToolwindow and ResolveToolwindow disposable: got rid of unreleased editor exception on closing IDEA.
#KT-733 fixed
2012-02-20 18:58:10 +04:00
Evgeny Gerashchenko 0d78fa41b7 Merged resolve & code windows into one, adding icon to them.
#KT-1353 fixed
2012-02-20 18:58:10 +04:00
Evgeny Gerashchenko 610998f8db Removed unnecessary semicolons after package declarations in file templates. 2012-02-20 18:58:10 +04:00
Evgeny Gerashchenko fe08252057 By default new kotlin file creates empty file.
#Fixed KT-1354
2012-02-20 18:58:10 +04:00
James Strachan b8571ece11 added a testlib ant goal to run the unit tests on the testlib 2012-02-20 14:53:34 +00:00
Svetlana Isakova 05dfdc7377 KT-1293 Kompiler doesn't show error when element of Array<Int?> is assigned to Int 2012-02-20 17:31:08 +04:00
Stepan Koltsov 5077404c80 no overriden descriptors in ErrorNamedFunctionDescriptorImpl
fixes stack overflow in KT-1206
2012-02-20 17:09:00 +04:00
Nikolay Krasko 44b3ebcd43 Revert disabling of debug mode 2012-02-20 16:59:14 +04:00
Maxim Shafirov ef514738df Method JUnit configuration. 2012-02-20 16:11:53 +04:00
Nikolay Krasko 1e2ef9fbf1 KT-1294 Class rename fails to update import statement and breaks the code - test for kotlin class rename 2012-02-20 15:54:05 +04:00
Nikolay Krasko 300fafc90d KT-1351 References are not updated after java private package class rename - test 2012-02-20 15:16:51 +04:00
Nikolay Krasko 00fa077c34 KT-1294 Class rename fails to update import statement and breaks the code - add test for different packages and public java class. 2012-02-20 15:16:50 +04:00
Nikolay Krasko 9689c30a58 KT-1294 Class rename fails to update import statement and breaks the code - avoid multireference resolve for java classes 2012-02-20 15:16:49 +04:00
James Strachan 770e525b8b added IDE/textmate links 2012-02-20 11:02:44 +00:00
James Strachan 4d3b29fdd7 added some links to the readme 2012-02-20 10:55:53 +00:00
Alex Tkachman 5435594343 benchmarks refreshed 2012-02-20 12:43:02 +02:00
Alex Tkachman 436c298e47 weird bug with nested closures using outer receiver 2012-02-20 12:15:02 +02:00
Svetlana Isakova 046c13a264 KT-1041 Add check that thrown/catched expression is of Throwable type 2012-02-20 14:03:39 +04:00
James Strachan 3d3b41da4f improved the DOM API a little with a few more helper methods and syntax sugar 2012-02-20 10:03:38 +00:00
James Strachan 70bb9aec93 added ant goal to compile the testlib test cases 2012-02-20 10:01:57 +00:00
James Strachan 33af436b38 added little fail helper method 2012-02-20 10:01:30 +00:00
Stepan Koltsov b49c7f332c unused code in JavaDescriptorResolver 2012-02-19 22:31:05 +04:00
Stepan Koltsov 1172e49f8a cleanup after refactoring
merge property- and named-function- related code in OverrideResolver
2012-02-19 22:02:40 +04:00
Stepan Koltsov ea8eb7412a kill redeclaration handler in ClassDescriptor 2012-02-19 22:02:37 +04:00
Stepan Koltsov ca8cf6cb49 missing error report on incompatible declaration
===
open class Aaaa() {
    fun bb() = 1
}

class Bbbb() : Aaaa() {
    fun <T> bb() = 1
}
===
2012-02-19 22:02:33 +04:00
Evgeny Goldin 7acc4fe957 Ant task tests - "html.namespace" is invoked in "longer-examples-tests" macrodef. 2012-02-19 16:04:56 +02:00
Alex Tkachman e85b983953 more memory for ant build 2012-02-19 14:34:56 +02:00
Alex Tkachman 9073e4a6bb fixed non compiling HtmlBuilder.kt 2012-02-19 14:22:54 +02:00
Stepan Koltsov 943c1efc32 remove unused code in OverrideResolver 2012-02-18 00:33:43 +04:00
Stepan Koltsov 842a70ca66 report conflicting overloads in functions with same parameters different type parameters
test case:

===
class Aaa() {
    fun f() = 1
    fun <P> f() = 1
}
===
2012-02-18 00:33:37 +04:00
Stepan Koltsov 3b56b90a7c split ConflictingOverloads.jet test, add property overload conflict test 2012-02-18 00:33:26 +04:00
Stepan Koltsov da0db20ed5 JavaDescriptorResolver: initialize outer class first
Outer class must be initialized before inner class because inner class
because inner class needs a reference to outer class.

Fixes http://youtrack.jetbrains.com/issue/KT-1324
2012-02-18 00:08:58 +04:00
Stepan Koltsov d2a137d944 fix reading of jet signature with type parameter referencing self
===
class Something<A : Comparable<A>>
===

reported by Max

Also merge copy-paste in JavaDescriptorResolver
2012-02-17 22:32:11 +04:00
Maxim Shafirov 6cb7833e9b Cleanup 2012-02-17 21:07:32 +04:00
Andrey Breslav a87c0903f2 KT-224 "Overload ambiguity" when calling toString() method 2012-02-17 21:01:24 +04:00
Maxim Shafirov bf508ae03e KT-1245 Report syntax errors in kompiler 2012-02-17 21:00:45 +04:00
Maxim Shafirov 27d3148252 KT-1308 Tests are compiled into production folder 2012-02-17 20:37:21 +04:00
Maxim Shafirov 91da410829 Kotlin files can now depend on java, again 2012-02-17 19:39:53 +04:00
Maxim Shafirov 72b2dbe728 proper zip 2012-02-17 18:48:06 +04:00
Maxim Shafirov fd641eeafd this isn't used anymore 2012-02-17 18:40:39 +04:00
Alex Tkachman 252cd63d1c KT-633 test for obsolete issue 2012-02-17 09:36:09 -05:00
Maxim Shafirov f8008d85fe Refactor TC build 2012-02-17 18:34:50 +04:00
Alex Tkachman fac424c574 KT-725 test for obsolete issue 2012-02-17 09:12:48 -05:00
Alex Tkachman 082fdebaae KT-723 optional boxing after call to .inc() 2012-02-17 09:08:41 -05:00
Alex Tkachman 614c5018f6 inspection suppressed 2012-02-17 08:26:21 -05:00
Maxim Shafirov 47e649dd9f leftover 2012-02-17 17:04:39 +04:00