Fix tests: "Placing function type parameters after the function name" error

This commit is contained in:
Yan Zhulanow
2015-11-26 15:56:31 +03:00
parent 3001af56c9
commit a3ff3ffc45
435 changed files with 550 additions and 569 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
<caret>do doSomething("test")
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
do {
+1 -1
View File
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
if (true) doSomething("test")
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
if (true) doSomething("test")
+1 -1
View File
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
for (i in 1..4)
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
for (i in 1..4) {
+1 -1
View File
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
<caret>if (true) doSomething("test") else doSomething("test2")
+1 -1
View File
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
if (true) {
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
<caret>if (true) doSomething("test")
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
if (true) {
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
<caret>if (true) doSomething("test");
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
if (true) {
+1 -1
View File
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
<caret>while (true)
@@ -1,4 +1,4 @@
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
while (true) {
+1 -1
View File
@@ -1,6 +1,6 @@
// IS_APPLICABLE: false
fun doSomething<T>(a: T) {}
fun <T> doSomething(a: T) {}
fun foo() {
<caret>if (true) {