Svetlana Isakova
5419b0a3dc
Tests fixed after visibility changing
2012-03-30 13:38:36 +04:00
Svetlana Isakova
167a9c444a
Added 'public' annotation and specified return types for library functions
2012-03-30 13:38:35 +04:00
Svetlana Isakova
aefabd132e
Added 'package member cannot be protected' error
2012-03-30 13:38:35 +04:00
Svetlana Isakova
b0e301ae9f
Invisible call candidates removed from consideration
2012-03-30 13:38:35 +04:00
Svetlana Isakova
13173f75b5
Added 'local' visibility to local descriptors
2012-03-30 13:38:35 +04:00
Svetlana Isakova
3c5d4f6857
'isVisible' strategy added to Visibility interface
2012-03-30 13:38:35 +04:00
Svetlana Isakova
7df4e6728b
'isSubClass' method moved to DescriptorUtils
2012-03-30 13:38:35 +04:00
Stepan Koltsov
2c4094f4d4
proper environment when compiling special things
...
* do not include anything when compiling builtins
* do not include kotlin-runtime and jdk-headers when compiling jdk-headers
2012-03-30 03:54:58 +04:00
Stepan Koltsov
3ee7bcee25
diag in DeclarationResolver
2012-03-30 02:35:09 +04:00
Stepan Koltsov
ec367a0bf0
merge copy-paste after excessive inline in e6fda5
2012-03-29 23:39:01 +04:00
Maxim Shafirov
060be0a8f8
Refactor dependencies, so jet-as-java might be used in cli.
2012-03-29 21:18:35 +04:00
Stepan Koltsov
e6fda5b3d3
minor codegen refactoring
...
* cleanup after yesterday
* remove BindingContext stack in GenerationState
* use more power and strength of di
TODO: also initialize GenerationState by DI
2012-03-29 19:47:50 +04:00
James Strachan
d76454ce08
merged with Andrey's changes
2012-03-29 16:40:44 +01:00
James Strachan
beedd36456
refactored out the KDocLoader stuff from the KotlinCompiler; also introduced CompilerPluginContext to wrap up the Project, BindingContext and List<JetFiles> in case a plugin were to need any of those things (or we added extra stuff later like the environment)
2012-03-29 16:37:36 +01:00
Andrey Breslav
ed04839901
renaming/code moving to meet the code style
2012-03-29 19:22:55 +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
0ae59df0b1
A little renaming to make code more clear
2012-03-29 16:17:43 +04: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
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
Nikolay Krasko
31ceb1e7df
KT-1636 Idea consumes the whole heap with Kotlin plugin
...
#KT-1636 fixed
2012-03-28 20:58:36 +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
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
Pavel V. Talanov
582259ffda
Support for inline in front-end. Add SimpleFunctionDescriptor#isInline.
2012-03-28 14:25:09 +04:00
Andrey Breslav
25323d560d
Better assertion messages in TypeParameterDescriptor
2012-03-28 13:15:13 +04:00
Andrey Breslav
98887a09d1
Generating Kotlin sources for functions and tuples
2012-03-28 13:15:13 +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
Nikolay Krasko
6964147e44
KT-1648 Function0<Tuple0> appears in the result of the Implement abstract members quick fix
...
#KT-1648 fixed
2012-03-27 22:11:07 +04:00
Nikolay Krasko
80b251983c
KT-1379 Override Methods does not respect caret position
...
#KT-1379 fixed
2012-03-27 19:46:12 +04:00
Stepan Koltsov
cad93cfabd
support @PostConstruct in our magnificent injector
2012-03-27 19:04:08 +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
Stepan Koltsov
f3f76ab01d
we have no typeinfo
2012-03-27 00:27:33 +04:00
Stepan Koltsov
69c9d3ffad
PsiClassFinder
2012-03-27 00:27:27 +04:00
Alex Tkachman
83ed0a846e
KT-1597 optimized as/as?
2012-03-26 16:56:24 +02:00
Stepan Koltsov
bc17c7b4f3
injector to analyze js
2012-03-26 17:42:04 +04:00