Alex Tkachman
f15cb22809
patch from Natasha to fix local var table 0 for function literals
2012-05-22 19:10:59 +03:00
Stepan Koltsov
fdb2b98b0c
more di in jvm backend
2012-05-21 19:20:32 +04:00
Stepan Koltsov
99cc26866e
jvm backend: use JvmClassName instead of String
2012-05-21 19:20:23 +04:00
Stepan Koltsov
724f69bced
jvm backend: refactoring artifact
2012-05-21 19:18:22 +04:00
Stepan Koltsov
4cf2e7bd3d
ClassCodegen is stateless, put it into context
2012-05-19 00:23:59 +04:00
Natalia.Ukhorskaya
162cc7307d
KT-1935 Fixed: ACC_SUPER flag must be set for classes
2012-05-11 12:52:26 +04:00
Stepan Koltsov
ded824468a
replace String with JvmClassName
2012-05-11 01:08:33 +04:00
Stepan Koltsov
9908791094
KT-1829 NoClassDefFoundError when using java inner classes
...
#KT-1829 Fixed
2012-05-11 01:08:30 +04:00
Alex Tkachman
6d2deaa70c
KT-1600: call to non-overriden generic method
2012-05-10 16:45:34 +03:00
Svetlana Isakova
3053ac78e4
MUST_BE_WRAPPED_IN_A_REF was renamed to CAPTURED_IN_CLOSURE (immutable variables are stored there as well)
2012-05-03 19:30:13 +04:00
Svetlana Isakova
d4b816ef56
KT-1743 Analyze immutable local variables and parameters which are captured in closure
...
#KT-1743 fixed
2012-05-03 17:56:45 +04:00
Alex Tkachman
d58e988ca5
incorporating Sveta's patch on VariableAsFunctionResolvedCall
2012-05-03 12:56:51 +03:00
Stepan Koltsov
67013cbaf5
fix one more error in error diagnostics
2012-05-01 19:21:44 +04:00
Alex Tkachman
f076ff027d
KT-729 Need to support arrays as varargs
2012-04-28 10:43:49 +03:00
Alex Tkachman
7b7987ba0d
KT-1759 str.plus(str)
2012-04-28 08:09:02 +03: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
88a0f70e8f
Assertion added
2012-04-27 20:05:42 +04:00
Andrey Breslav
83de1581ca
Trust your spell-checker: it's "overridden"
2012-04-27 10:47:28 +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
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
993bf65087
Providing reasonable information about compilation exceptions
...
Self message, cause message and both position in the file under compilation and the executed file position are reported
2012-04-23 19:17:35 +04:00
Stepan Koltsov
3b0c9244c9
di: @PreDestroy
...
I need in my private experiments
2012-04-20 21:33:18 +04:00
Stepan Koltsov
994e6fe009
di: store everything in fields
...
needed to implement @PreDestroy
2012-04-20 21:33:17 +04:00
Stepan Koltsov
216cbf7d9a
assert error/NonExistentClass is only generated when mode = SIGNATURES
...
move classBuilderMode to injector and GenerationState from ClassBuilder
2012-04-19 18:56:05 +04:00
Stepan Koltsov
0efe0d5d93
better message in CompilationException
2012-04-19 14:32:02 +04:00
Svetlana Isakova
71102627c0
'isClassObject' method moved from CodegenUtil to DescriptorUtils
2012-04-18 19:59:15 +04:00
Nikolay Krasko
531ffaaffa
KT-1645 Propose members according to smart casts
...
#KT-1645 fixed
2012-04-13 15:35:55 +04:00
Stepan Koltsov
71f89ef130
more descriptorToDeclaration utils
...
* custom versions
* normalization code moved out of norializer
* hide DESCRIPTOR_TO_DECLARATION (make package local)
2012-04-12 00:24:12 +04:00
Stepan Koltsov
e37f24ce4f
do not use BindingContext.DESCRIPTOR_TO_DECLARATION explictly
2012-04-12 00:24:12 +04:00
Stepan Koltsov
a889e29147
else on the next line
...
as requested by http://confluence.jetbrains.net/display/JET/Code+Conventions+for+Java
(sed is your friend)
2012-04-10 00:03:13 +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
Pavel V. Talanov
7dd0e50bcd
Merge with branch "AnalyzerJS"
2012-04-09 17:08:57 +04:00
Pavel V. Talanov
a030576052
Merge from brahch analyzeJS.
...
Conflicts:
compiler/backend/src/org/jetbrains/jet/codegen/GenerationState.java
compiler/cli/src/org/jetbrains/jet/compiler/CompileSession.java
compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/AnalyzerFacadeForJVM.java
compiler/tests/org/jetbrains/jet/codegen/GenerationUtils.java
compiler/tests/org/jetbrains/jet/resolve/ExpectedResolveData.java
compiler/tests/org/jetbrains/jet/types/JetDefaultModalityModifiersTest.java
idea/src/org/jetbrains/jet/plugin/libraries/JetSourceNavigationHelper.java
idea/src/org/jetbrains/jet/plugin/parameterInfo/JetFunctionParameterInfoHandler.java
idea/src/org/jetbrains/jet/plugin/project/WholeProjectAnalyzerFacade.java
idea/src/org/jetbrains/jet/plugin/quickfix/ChangeVariableMutabilityFix.java
idea/src/org/jetbrains/jet/plugin/quickfix/ImportInsertHelper.java
idea/src/org/jetbrains/jet/plugin/quickfix/QuickFixUtil.java
idea/src/org/jetbrains/jet/plugin/refactoring/JetNameSuggester.java
idea/src/org/jetbrains/jet/plugin/refactoring/JetRefactoringUtil.java
idea/src/org/jetbrains/jet/plugin/refactoring/introduceVariable/JetIntroduceVariableHandler.java
2012-04-09 17:06:56 +04:00
Pavel V. Talanov
652be4ed95
Revert misleading whitespace changes.
2012-04-09 15:04:27 +04:00
Stepan Koltsov
10dd366216
CompilerDependencies
...
Holds reference to runtime.jar and jdk-headers.jar. Paths to these
jars are no longer hardcoded.
Many tests now compile runtime before execution. Because of this:
* Single test invocation is significantly slower now for some tests
* This can be fixed by making tests independent from runtime (this
must be done anyway)
Some tests still depend on runtime.jar built by "ant dist", this
is to be fixed.
2012-04-09 03:04:50 +04:00
Stepan Koltsov
09ddfb714e
cleanup in JavaDescriptorResolver
2012-04-08 23:23:59 +04:00
Stepan Koltsov
0f166acf5d
assertions in closure annotator
2012-04-08 02:08:27 +04:00
Stepan Koltsov
a43c0c19a8
assert builtins do not reference java.* classes
2012-04-08 02:08:26 +04:00
Stepan Koltsov
d969d8e18f
fix test (disable assertion)
2012-04-07 23:16:47 +04:00
Stepan Koltsov
8623361e22
more FqName instead of String
2012-04-07 06:32:19 +04:00
Stepan Koltsov
9e9d60e02a
remove unused code
2012-04-07 06:32:19 +04:00
Stepan Koltsov
3d863a6b37
diag
2012-04-07 06:32:18 +04:00
Stepan Koltsov
b38e171812
MapTypeMode and properly map builtins
...
used in JetTypeMapper in JetTypeMapper
* MapTypeMode contains no information not needed by JetTypeMapper
* MapTypeMode has separate VALUE and IMPL values that are needed to compile builtins
2012-04-07 06:32:18 +04:00
Stepan Koltsov
157633e371
useful assertions in backend
2012-04-07 06:32:17 +04:00
Pavel V. Talanov
766b4dc975
Move AnalyzerExhaust from frontend.java to frontend.
2012-04-04 16:11:40 +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
f64920246a
visibility can be set only after resolve overridden members, so method 'setVisibility' was separated
2012-04-03 16:36:00 +04:00
Alex Tkachman
ffbce7fe1e
KT-1589: Array<T>(size) renamed to arrayOfNulls
2012-04-02 14:30:37 +03:00