allow to split var declaration if it has denotable type

This commit is contained in:
Bas Leijdekkers
2018-07-04 15:56:52 +02:00
parent 7a147b624b
commit 3cc8a26e39
3 changed files with 30 additions and 22 deletions
@@ -0,0 +1,7 @@
// "Split into declaration and assignment" "true"
class Test {
{
String l;
l = "foo";
}
}
@@ -0,0 +1,6 @@
// "Split into declaration and assignment" "true"
class Test {
{
var l <caret>= "foo";
}
}