Evgeny Gerashchenko
9265ce4ec9
Renumbered type and value parameters of function types.
...
Their numbers now start from 1. This is made for consistency with auto-generated sources for these types. Parameters of runtime types (written in Java) are numbered starting with 0, too.
2012-05-12 21:56:42 +04:00
Evgeny Gerashchenko
073a30704f
Made methods of function types public.
2012-05-11 21:25:41 +04:00
Evgeny Gerashchenko
a512d85383
Merge remote-tracking branch 'origin/master'
2012-05-11 20:39:00 +04:00
Evgeny Gerashchenko
7c96aec630
Renamed "std" library containing Any, Nothing, tuple and function types to "jet.src" and added readme file.
2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko
d6e3a392f6
Added navigation to sources of builtin entities.
...
#KT-1069 fixed
2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko
29a9fdde78
Moved *.jet.src to separate directory and renamed to them to *.jet. Thus, they will be correctly loadable via PSI.
2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko
b6bcce2c8a
Fixed visibilities, added "val" and package line in TuplesAndFunctionsGenerator.
2012-05-11 20:37:11 +04:00
Andrey Breslav
647a5455e1
Source representations for Any and Nothing. These sources are to be shown in the IDE
2012-05-11 20:37:11 +04:00
Evgeny Gerashchenko
070a3729e5
Fixed unnecessary FQ name bug.
...
#KT-1954 fixed
2012-05-11 19:39:51 +04:00
Stepan Koltsov
77e7c53ed1
everyone loves idea default templates
2012-05-11 19:22:29 +04:00
Nikolay Krasko
efe2155f28
Intermediate major refactorings for lazy resolve
2012-05-11 19:10:16 +04:00
Nikolay Krasko
2dba348ecb
Intermediate major refactorings for lazy resolve
2012-05-11 18:58:54 +04:00
Stepan Koltsov
3af2b1b80a
improve rendering of upper bounds
2012-05-11 18:24:58 +04:00
Stepan Koltsov
6c4478f544
simplify renderer
2012-05-11 18:24:57 +04:00
Andrey Breslav
420a7c9ad4
KT-1961 Incorrect override error in functions with type parameter with two upper bounds
...
#KT-1961 Fixed
2012-05-11 18:00:09 +04:00
Svetlana Isakova
fddd9eff57
Possible fix of EA-34996
2012-05-11 17:08:20 +04:00
Stepan Koltsov
aa4252462f
replace 'for (;;)' with 'while (true)'
2012-05-11 16:26:26 +04:00
Nikolay Krasko
39ec3f7c14
Print file name at least in diagnostic
2012-05-11 16:09:58 +04:00
Nikolay Krasko
9cb7cb56f1
Refactoring - new interface for common method
2012-05-11 16:09:56 +04:00
Nikolay Krasko
f67aebe4be
On the way refactorings
2012-05-11 16:09:55 +04:00
Svetlana Isakova
b1e5a0768c
KT-1955 Half a file is red on incomplete code
...
#KT-1955 fixed
2012-05-11 15:03:23 +04:00
Svetlana Isakova
696df0eb9b
more tests for KT-1897
...
#KT-1897 fixed
2012-05-11 14:24:38 +04:00
Stepan Koltsov
9908791094
KT-1829 NoClassDefFoundError when using java inner classes
...
#KT-1829 Fixed
2012-05-11 01:08:30 +04:00
Svetlana Isakova
8d26629aff
Resolution diagnostic improvement
...
#KT-1940 fixed
2012-05-10 19:01:58 +04:00
Andrey Breslav
909e02898d
Remove an effect from DeclarationDescriptorImpl.toString()
2012-05-10 15:54:41 +04:00
pTalanov
869a8ab1ba
Refactoring of K2JSTranslator and neighboring classes
...
Drop GenerationUtils
Introduce MainCallParameters
Generate calls to main function together with the other code in contrast to as text afterwards
Enhance tests a bit
2012-05-05 18:50:02 +04:00
Andrey Breslav
821127ac7e
Immediate recursion allowed in substitutions
...
The assertion is kept commented for future use
2012-05-04 20:07:41 +04:00
Andrey Breslav
f82e46e3ac
Proper message
...
My little daily WTF...
2012-05-04 20:07:41 +04:00
Andrey Breslav
2c8b3c879c
TypeSubstitutor rewritten to be more readable
2012-05-04 20:07:40 +04:00
Andrey Breslav
5dc8cf48bc
TypeSubstitution moved to top level
2012-05-04 20:07:40 +04:00
Andrey Breslav
3ca8bf6f63
Clarifying renamings
2012-05-04 20:07:40 +04:00
Andrey Breslav
c9c482925c
More details in the error message
2012-05-04 20:07:40 +04:00
Andrey Breslav
f7422a12bc
Loop header cleaned up
2012-05-04 20:07:39 +04:00
Andrey Breslav
a0367bcfa2
Guard from immediately recursive substitutions
...
* substitutions of the form T -> T are removed
* an assertion added against nontrivial cases like T -> Foo<T>
2012-05-04 20:07:39 +04:00
Andrey Breslav
22166bad1b
Proper debug name
2012-05-04 20:07:39 +04:00
Svetlana Isakova
335f0a6b5e
'isSafeCall' method added to ResolvedCall
2012-05-03 22:02:30 +04:00
Evgeny Gerashchenko
c794435640
When type reference is unresolved, type of expression is considered error.
2012-05-03 20:51:42 +04: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
Andrey Breslav
08c074c5be
SubstitutionUtils extracted from TypeUtils
2012-05-03 17:08:43 +04:00
Svetlana Isakova
bdb7de142a
Member 'invoke' of function class should be abstract
2012-05-03 16:15:08 +04:00
Svetlana Isakova
8723bbcac5
KT-1875 Safe call should be binded with receiver or this object (but not with both by default)
...
#KT-1875 fixed
2012-05-03 14:46:06 +04:00
Andrey Breslav
47934b1fe7
KT-1575 Can't define a fix-point generic type
...
#KT-1575 Fixed
2012-05-03 14:43:53 +04:00
Andrey Breslav
3bdc3167e8
Typo fixed
2012-05-03 14:43:53 +04:00
Alex Tkachman
d58e988ca5
incorporating Sveta's patch on VariableAsFunctionResolvedCall
2012-05-03 12:56:51 +03:00
Evgeny Gerashchenko
2fcc7b0cbb
Implemented compacting type names and adding valid imports in override/implements handler.
...
#KT-1602 fixed
2012-05-02 19:54:29 +04:00
Evgeny Gerashchenko
eeafd06cd8
Got rid of returning empty range list in position strategies (in places where they depend on syntax errors).
2012-05-02 00:11:04 +04:00
Evgeny Gerashchenko
abdf34418a
Got rid of returning empty range list in position strategies (in places where they don't depend on syntax errors).
2012-05-02 00:11:03 +04:00
Evgeny Gerashchenko
0fd34a455f
Added assert in DefaultErrorMessages checking that all error factories have default renderer.
2012-05-02 00:11:02 +04:00
Stepan Koltsov
8278ed8aa5
ImportPath.toString
2012-05-01 17:39:51 +04:00