Evgeny Gerashchenko
0f0330a4b4
Added rendering vararg keywords and valid parameter type in this case.
...
#KT-1840 fixed
2012-04-20 20:44:09 +04:00
Evgeny Gerashchenko
90ac45f3f9
Added extra space after function type arguments list in DescriptorRenderer. Added test.
2012-04-20 20:44:08 +04:00
Evgeny Gerashchenko
1f7c435a24
Removed val/var soft keywords in renderer for functions
2012-04-20 20:44:08 +04:00
Evgeny Gerashchenko
85ce85383b
Added rendering variance for type parameters in DescriptorRenderer.
2012-04-19 18:46:45 +04:00
Evgeny Gerashchenko
d28aed6494
Improved positioning for PROJECTION_ON_NON_CLASS_TYPE_ARGUMENT.
2012-04-19 16:25:48 +04:00
Evgeny Gerashchenko
99acd9cdf0
Fixed rendering "defined in ..." DescriptorRenderer, now it doesn't render "<module>.<root>"
2012-04-19 15:22:01 +04:00
Evgeny Gerashchenko
03fac49191
Got rid of storing diagnostic messages inside them: now they are generated on demand.
2012-04-13 19:31:45 +04:00
Stepan Koltsov
c08965c336
split GenericIterator test
2012-04-09 22:31:57 +04:00
Stepan Koltsov
abfd03cae3
descriptor name cannot be empty string
...
* add assertion
* fix tests
* #KT-1748 Fixed
2012-04-09 22:31:56 +04:00
Nikolay Krasko
4ec080f71f
KT-1666 Invoking "Go to Declaration" for String type offers two variants - Temp boring fix
...
#KT-1666 fixed
2012-04-08 20:38:11 +04:00
Evgeny Gerashchenko
aec021e668
Implemented better rendering for parameters with default values in decompiler and descriptor renderer.
...
#KT-1582 fixed
2012-04-08 19:59:53 +04:00
Stepan Koltsov
611b04025d
lost property from superclass
2012-04-08 03:18:38 +04:00
Stepan Koltsov
16f333af9f
ReadKotlinBinaryClassTest: override val test
2012-04-08 02:08:24 +04:00
Svetlana Isakova
2de69d8cd8
stop resolution if ambiguity is found
2012-04-06 20:42:51 +04:00
Evgeny Gerashchenko
f6d8771f79
Added vararg parameter and parameter with default value to DescriptorRendererTest.
2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko
83bd57184d
Added test cases for classes, its members, function and tuple types to DescriptorRendererTest.
2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko
da9973a822
Added rendering visibility in DescriptorRenderer.
2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko
2c3ff4357e
Added simple DescriptorRendererTest checking for global functions and properties.
2012-04-06 17:24:30 +04:00
Nikolay Krasko
4d19fd05b1
KT-1702 Renaming file causes "Operation not supported" and invalid imports
...
(Rename problem was caused because of invalid reference to file from package. Fix contains:
- Change structure of references in package expression - last part is also a reference now
- Resolve packages to expression but not to files)
#KT-1702 fixed
2012-04-06 14:46:23 +04:00
Svetlana Isakova
1372d70466
tests for incomplete code exceptions
2012-04-06 11:56:37 +04:00
Svetlana Isakova
7863b1398e
Resolve invisible references and mark them 'invisible' instead of mark them 'unresolved'
2012-04-05 18:36:46 +04:00
Svetlana Isakova
0ec24f5e3d
test fix
2012-04-04 19:02:26 +04:00
Svetlana Isakova
5520e1a2b0
'AbstractStringBuilder' has package private, so cannot be used in tests
2012-04-04 19:02:26 +04:00
Svetlana Isakova
2c0cee61fa
Added 'package' visibility for Java descriptors
2012-04-04 19:02:26 +04:00
Svetlana Isakova
0d462bf0bf
'private' package members should be visible for subpackages
2012-04-04 19:02:26 +04:00
Svetlana Isakova
ac0fd05463
test for:
...
#KT-323 Fixed Handle visibility interactions with overriding
2012-04-04 14:36:57 +04:00
Svetlana Isakova
2577683ce8
tests for:
...
#KT-1248 Fixed Control visibility of overrides needed
#KT-37 Fixed Typechecker doesn't complain about accessing non-public property
2012-04-04 14:36:57 +04:00
Svetlana Isakova
9b2eeb076e
KT-1717 Don't make member visibility inherit when it is not declared explicitly
...
#KT-1717 Fixed
2012-04-03 19:26:28 +04:00
Svetlana Isakova
e9788c12d9
member visibility inheritance; check visibility is not weaken added
2012-04-03 16:36:00 +04:00
Svetlana Isakova
c47e3957a7
return type can be omitted when override
2012-04-03 16:36:00 +04:00
Svetlana Isakova
4d37672809
added classes visibility check
2012-04-02 15:37:09 +04:00
Svetlana Isakova
e364fe4259
public methods in private classes visibility check
2012-04-02 15:37:09 +04:00
Alex Tkachman
ffbce7fe1e
KT-1589: Array<T>(size) renamed to arrayOfNulls
2012-04-02 14:30:37 +03:00
Alex Tkachman
a1582e1911
fix for tests broken by previous commit
2012-04-02 13:40:19 +03:00
Alex Tkachman
a4ebbaa1a0
KT-1441 proper identityEquals
2012-04-02 13:32:31 +03:00
Svetlana Isakova
5419b0a3dc
Tests fixed after visibility changing
2012-03-30 13:38:36 +04:00
Svetlana Isakova
b0e301ae9f
Invisible call candidates removed from consideration
2012-03-30 13:38:35 +04:00
Andrey Breslav
320241d107
Proper error reporting when a package name redeclares something, wrt the package name occurring in multiple files
...
See MultiFilePackageRedeclaration.jet test
2012-03-29 16:18:42 +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
5776fec84c
EA-34595 - ISE: MutableClassDescriptorLite.addSupertype
2012-03-28 18:58:09 +04:00
Svetlana Isakova
cd6f3139f0
Changed scope for initializer of extension property /*not to resolve things like val List.length = size() */
2012-03-28 13:14:35 +04:00
Svetlana Isakova
a91a53f7f1
KT-1531 Frontend should prohibit secondary constructors
...
# KT-1531 Fixed
2012-03-27 17:48:04 +04:00
Svetlana Isakova
7a782d4529
# KT-1571 Fixed. Frontend fails to check val reassigment for operator overloading.
2012-03-27 16:40:10 +04:00
Svetlana Isakova
48250050f8
test for KT-1580
2012-03-27 16:38:30 +04:00
Svetlana Isakova
bd5b84e697
# KT-1642 Fixed kotlin subpackages hide Java's toplevel packages
2012-03-27 16:20:59 +04:00
Svetlana Isakova
f7cfb36f62
# KT-1579 Fixed Can't import nested class/trait
2012-03-27 16:20:59 +04:00
Andrey Breslav
669126d635
Making compiler exit codes type safe. Fixes the problem with wrong command-line argument usage being missed by the IDE
2012-03-27 12:19:01 +04:00
Alex Tkachman
d0e7248ec1
KT-628 !! support
2012-03-26 11:37:40 +02:00
Andrey Breslav
dd9c36387c
KT-987 Unboxing nulls
...
#KT-987 Fixed
2012-03-26 11:42:34 +04:00
Stepan Koltsov
8ad5db5bd9
Fix KT-1639: extend JFrame
...
#KT-1639 Fixed
2012-03-24 20:36:43 +04:00