Evgeny Gerashchenko
84bc74894a
Always parsing tuples as errors.
2013-03-22 16:37:16 +04:00
Evgeny Gerashchenko
7bfa4a9c09
Removed tuples from PSI tests.
2013-03-22 16:37:16 +04:00
Wojciech Lopata
3b6ada239c
KT-831 parser recovering when missing parameter
...
#KT-831 fixed
2013-03-20 13:17:35 +01:00
Andrey Breslav
db99492b9c
Merge pull request #215 from lopekpl/KT-1019
...
KT-1019 recover from missing parentheses in function declaration
2013-03-01 01:24:26 -08:00
Wojciech Lopata
bc59ed75ca
KT-1019 parser should recover from missing parentheses in function declaration
...
#KT-1019 Fixed
2013-02-28 12:00:33 +01:00
Mikhael Bogdanov
1e4536a914
For expression recovery
2013-02-26 18:34:43 +04:00
Alexander Udalov
84e4611d2b
Add 'inner' keyword
...
Support for the keyword in PSI and stubs
#KT-1174 In Progress
2013-01-16 23:11:39 +04:00
Andrey Breslav
d8ef7210dc
KT-3025 Bad handling of missing expression in catch()
...
#KT-3025 Fixed
2012-11-07 16:01:30 +04:00
Andrey Breslav
6feceaa161
PsiElement for receiver declaration in a function type
...
This fixes the following assertion:
EA-37795 - assert: DescriptorResolver.checkBounds
java.lang.AssertionError: (
public val categoryName: String,
public val defaultReoccurrenceRate: DateReoccurrence,
datesCollection: Collection<Date>) {
at org.jetbrains.jet.lang.resolve.DescriptorResolver.checkBounds(DescriptorResolver.java:1137)
at org.jetbrains.jet.lang.resolve.TypeHierarchyResolver.checkTypesInClassHeaders(TypeHierarchyResolver.java:447)
at org.jetbrains.jet.lang.resolve.TypeHierarchyResolver.process(TypeHierarchyResolver.java:154)
at org.jetbrains.jet.lang.resolve.TopDownAnalyzer.doProcess(TopDownAnalyzer.java:125)
Caused by misbehavior of the JetFunctionType class
2012-11-06 15:29:14 +04:00
Nikolay Krasko
7c41ec517f
Better recovery for parameters without type
2012-09-18 19:26:54 +04:00
Andrey Breslav
10d453ce6a
Removing grammar/parsing support for complext patterns
...
#KT-2359 In progress
2012-09-05 14:18:40 +04:00
Andrey Breslav
7caa1b8aa4
KT-2364 Drop traces of constructor-entries in enums
...
#KT-2364 Fixed
2012-08-29 22:07:42 +04:00
Nikolay Krasko
1a12ef9e07
Recover on EOL for imports
2012-08-24 00:13:16 +04:00
Andrey Breslav
af85c99ffd
KT-2627 Parse for with multiple range variables
...
#KT-2627 Fixed
2012-08-21 19:10:29 +04:00
Andrey Breslav
86e40073c5
KT-2625 Parse multiple assignment to variables
...
New PSI element types introduced.
Parsing procedure for properties reused.
Extra syntactic elements (receiver, type) are prohibited in the parser
#KT-2625 Fixed
2012-08-17 22:04:33 +04:00
Alex Tkachman
e134969896
making script classes useful/accessable for the rest of the world
2012-08-01 09:58:01 +03:00
Andrey Breslav
bf503e9a4b
KT-2363 Drop secondary constructors
...
#KT-2363 Fixed
2012-07-19 19:53:06 +04:00
Stepan Koltsov
4d06660243
parse imports in scripts
2012-06-13 22:32:36 +04:00
Andrey Breslav
84a3974460
Missing test data added
2012-06-04 18:55:36 +04:00
Andrey Breslav
febb3c6a3d
Recovery set extended
...
#KT-2172 Fixed
2012-06-04 18:44:09 +04:00
Stepan Koltsov
25f71bcd3a
skip shebang in the first line
...
Something like this works now:
===
% PATH="./bin:$PATH" ./sum.ktscript 31 21
31 + 21 = 52
% cat sum.ktscript
#!/usr/bin/env kotlin -script
val a = Integer.parseInt(args[0])
val b = Integer.parseInt(args[1])
println("$a + $b = ${a + b}")
===
2012-05-28 22:59:03 +04:00
Stepan Koltsov
c15ff2dee0
make parser test debugging friendly
2012-05-23 02:52:32 +04:00
Stepan Koltsov
5fc73a4cd4
parse kotlin scripts
...
http://confluence.jetbrains.net/display/~stepan.koltsov/REPL
2012-05-23 02:52:29 +04:00
Evgeny Gerashchenko
e298391645
Fixed tests.
...
#KT-1799 fixed
2012-04-20 22:16:20 +04:00
Nikolay Krasko
aa4e4623d4
KT-1630 Do not select automatically completion proposal in definition of lambda parameters
...
#KT-1630 fixed
2012-04-19 16:06:15 +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
Andrey Breslav
90e5510b5d
Support !!foo as a double-negation
2012-03-23 10:44:52 +01:00
Andrey Breslav
77159a0d8e
Fixed the /**/ case. It is now a comment
2012-03-23 10:44:52 +01:00
Andrey Breslav
3a73a96e06
KT-482 Support nested comments: comments nest properly, but strings are not accounted for inside comments
...
#KT-482 In progress
2012-03-21 15:52:58 +01:00
Andrey Breslav
8019357bd5
KT-555 Parse error for generic function invocation
...
#KT-555 Fixed
2012-03-14 12:51:39 +04:00
Andrey Breslav
0b0878b8f9
Finishing the fix for KT-1310
2012-02-29 22:19:42 +04:00
Sergey Lukjanov
d2ec50b9a9
Fix for When_ERR test
2012-02-29 19:28:29 +04:00
Andrey Breslav
cefd9d5ca2
KT-627 Drop Predicate expression
2012-02-27 12:58:23 +04:00
Nikolay Krasko
782ea7b1c3
getElement() and getRangeInElement() are expected to return non-nullable values
2012-02-24 23:04:57 +04:00
Andrey Breslav
f049d27fa3
KT-1385 support multi line strings with templates
2012-02-24 14:25:31 +04:00
Evgeny Gerashchenko
cf5f419549
Added parser test for ide templates.
2012-02-08 21:12:42 +04:00
Evgeny Gerashchenko
7bbc121f72
Fixed parser test.
2012-02-08 16:13:25 +04:00
Evgeny Gerashchenko
bc9f67b6e2
Made parser aware of object literals in statement position (they were parsed as object declarations)
2012-02-08 15:58:08 +04:00
Andrey Breslav
a5bd1c069f
KT-913 Weird errors attempting to declare ArrayList of function type
...
KT-507 Wrong parsing of generic constructor calls with qualified names and functions
2012-01-25 18:50:44 +04:00
Andrey Breslav
408b91e43d
KT-1130 Remove ref from keywords
2012-01-25 13:13:38 +04:00
Andrey Breslav
90b98a63b5
KT-1130 Remove ref from keywords
2012-01-25 13:12:42 +04:00
svtk
cc3a7448dc
KT-657 Semantic checks for when without condition
2012-01-18 19:28:39 +04:00
Andrey Breslav
fb463da84b
KT-918 Use-case for using some functions and lambdas (confused)
2012-01-16 17:22:12 +04:00
Andrey Breslav
c78cb3cc19
Rename namespace->package in the token decala
2012-01-12 19:50:14 +04:00
Andrey Breslav
6aafaa1851
JetNamespace eliminated
2011-12-27 20:23:58 +04:00
Andrey Breslav
7fcae64766
Parser test data fixed
2011-12-27 15:20:31 +04:00
Andrey Breslav
072546ed5d
KT-868 unable to add a 'size' and 'empty' property to java.util.Map via extension methods
2011-12-26 02:30:51 +04:00
Andrey Breslav
f52eae71d0
GreatSyntacticShift: 'namespace' -> 'package'
2011-12-25 15:51:59 +04:00
Andrey Breslav
91d10790b4
GreatSyntacticShift: Parser test data fixed
2011-12-21 10:57:09 +02:00
Andrey Breslav
6bad4830c3
Graet Syntactic Shift : Syntax for function literals fixed
2011-12-21 10:52:58 +02:00