Andrey Breslav
ebfb1ec792
KT-1558 Exception while analyzing
...
KT-1558 Fixed
2012-04-27 20:05:42 +04:00
Andrey Breslav
5453598b2f
Declared vs inherited default values
...
A value parameter _declares _a default value when the value is explicitly provided in the declaration of the parameter.
A value parameter _has_ a default value when it declares a default value or an overridden function declares it for the same parameter
2012-04-27 20:05:42 +04:00
Andrey Breslav
d3ceaf7656
Copy-paste bug fixed
...
The test is supposed to check classes and objects
2012-04-27 20:05:42 +04:00
Andrey Breslav
88a0f70e8f
Assertion added
2012-04-27 20:05:42 +04:00
Stepan Koltsov
baf71bf764
fix testOverrideJavaMethod
2012-04-27 19:33:34 +04:00
Stepan Koltsov
f74ba83124
typo
2012-04-27 19:09:41 +04:00
Stepan Koltsov
a17d7764b1
generify JavaDescriptorResolverTest
2012-04-27 19:09:40 +04:00
Stepan Koltsov
fc732ef477
ReadJavaBinaryClassTest: find java files, not kotlin files
2012-04-27 19:09:40 +04:00
Stepan Koltsov
286b4c4d4b
simplify filters in JetTestCaseBuilder
2012-04-27 19:09:39 +04:00
Stepan Koltsov
e959c62ee4
remove unused code
2012-04-27 19:09:39 +04:00
Stepan Koltsov
fca0b8a530
extract resolveConstructor method
2012-04-27 19:09:38 +04:00
Stepan Koltsov
583e3c9b85
diag in ReadJavaBinaryClassTest
2012-04-27 19:09:38 +04:00
Stepan Koltsov
225c9b4fa0
java classes should extend java.lang.Object
...
#KT-1121 fixed
2012-04-27 16:16:02 +04:00
Andrey Breslav
d67cc468d8
KT-1862 Wrong MANY_IMPL_MEMBERS_NOT_IMPLEMENTED when trait extends class
...
#KT-1862 Fixed
2012-04-27 10:58:27 +04:00
Andrey Breslav
dc7e6cd3f6
A clarifying message added to an assertion
2012-04-27 10:53:02 +04:00
Andrey Breslav
83de1581ca
Trust your spell-checker: it's "overridden"
2012-04-27 10:47:28 +04:00
Andrey Breslav
227d50945c
Cleanup
2012-04-27 10:43:14 +04:00
Andrey Breslav
1795ca9830
Unnecessary casts removed
2012-04-27 10:29:52 +04:00
Andrey Breslav
b1627e3897
Provide separate access to declared callable members as opposed to all callable members
...
All callable members contain "fake overrides", declared don't
2012-04-27 00:05:31 +04:00
Andrey Breslav
5f75be6253
No need to expose this scope as writable
2012-04-26 23:58:36 +04:00
Andrey Breslav
058e4b833b
Checks for default parameter value consistency
...
Inheriting default values from multiple superclasses is prohibited
2012-04-26 17:33:16 +04:00
Andrey Breslav
07c5f8e12a
MutableClassDescriptor.getCallableDescriptors() now includes "fake overrides"
...
Otherwise, it was necessary to call getAllDescriptors() on the member scope, which seems like a bad idea.
Adjustments have been made to the client code, to exclude "fake overrides" from irrelevant checks.
2012-04-26 17:33:16 +04:00
Andrey Breslav
3a56b7905d
Default parameter values are not allowed in overriding functions
2012-04-26 17:33:15 +04:00
Andrey Breslav
577918a119
Fixed the coding style
...
* space after type cast
* space in array initializer
2012-04-26 17:33:15 +04:00
Andrey Breslav
136b07e7e1
Introduced the notion of "overriding" for value parameters
...
Example:
trait A {
fun foo(a : Int)
}
class B : A {
override fun foo(a : Int) {}
}
B.foo.a overrides A.foo.a
2012-04-26 17:33:15 +04:00
Pavel Talanov
d8f603b3e0
Fix compiler
2012-04-26 14:46:04 +04:00
Nikolay Krasko
800f289ba3
Some new icons - kotlin file icon
2012-04-26 13:50:37 +04:00
pTalanov
272bac357d
Fix for teamcity build.
2012-04-25 21:02:45 +04:00
pTalanov
9f92b0b5d7
Refactor cli: all the jvm stuff goes under org.jetbrains.jet.cli.jvm, common stuff under org.jetbrains.jet.cli.common
2012-04-25 20:39:44 +04:00
pTalanov
d0d5b147f2
Refactor cli: all the jvm stuff goes under org.jetbrains.jet.cli.jvm, common stuff under org.jetbrains.jet.cli.common
2012-04-25 20:19:15 +04:00
pTalanov
b1b9446f13
Fix warnings in K2JSRunConfiguration
2012-04-25 20:14:07 +04:00
Stepan Koltsov
3b43f30824
add JDK to CompilerDependencies
2012-04-25 19:36:22 +04:00
Stepan Koltsov
c9edaa6b4f
do not add annotations.jar to compiler classpath
2012-04-25 18:48:14 +04:00
Andrey Breslav
c083876bf7
Properly report errors in the IDE when the compiler command line contains errors
2012-04-25 14:55:49 +04:00
Pavel V. Talanov
6e3d7cce61
Remove redundant analyzer wrapper.
2012-04-25 14:24:05 +04:00
Pavel V. Talanov
891dd9fc1c
extract compiler error reporting functionality from KotlinToJVMBytecodeCompiler
2012-04-25 14:24:04 +04:00
Pavel V. Talanov
0f5dc3b3a6
Fix for a problem that caused all files to be analyzed completely in js analyzing facade.
2012-04-25 14:24:02 +04:00
Pavel V. Talanov
b3ffaa89c3
Better handling of user provided paths.
2012-04-25 14:24:00 +04:00
Pavel V. Talanov
4488a62344
Rename K2JS run configuration to "Kotlin (JavaScript)"
2012-04-25 14:23:59 +04:00
Andrey Breslav
0a361f2377
Make VFS see the newly generated .class files
2012-04-25 12:53:05 +04:00
James Strachan
504f32d0d6
Merge pull request #43 from detouched/stringMethods
...
String methods
2012-04-25 01:44:18 -07:00
James Strachan
4502f81d6a
Merge pull request #42 from cy6erGn0m/master
...
Add functions for File to read by lines and byte blocks
2012-04-25 01:42:43 -07:00
James Strachan
7f272897ea
Merge pull request #45 from Frostman/arr-sugar
...
Array#lastIndex property has been added to stdlib
2012-04-25 01:41:49 -07:00
Andrey Breslav
d0bd5cf9c6
Properly positioning compilation exceptions in the IDE
2012-04-25 12:25:00 +04:00
Andrey Breslav
3eb6b3d0f5
Formatting
2012-04-25 12:20:27 +04:00
Andrey Breslav
296c16a623
Remove unused class
2012-04-25 11:53:17 +04:00
Andrey Breslav
890e9f5c43
Providing the same command line for in-process and out-of-process compilation
2012-04-25 11:52:30 +04:00
Andrey Breslav
fe9f8a0312
Getting process exit code from waitFor()
2012-04-25 11:26:31 +04:00
Andrey Breslav
47e096026d
Escape XML strings in the compiler output
2012-04-24 22:41:04 +04:00
Stepan Koltsov
4a1c36d733
fix complex case of recursion in JavaDescriptorResolver
...
#KT-1804
2012-04-24 22:14:01 +04:00