Fix test and add special option for spacing around colon in type definitions

This commit is contained in:
Nikolay Krasko
2012-05-23 18:43:47 +04:00
parent 1ff9c86083
commit ccb8c08684
10 changed files with 52 additions and 25 deletions
@@ -0,0 +1,12 @@
import java.util.ArrayList
import java.lang.Iterable
class Some :java.util.ArrayList<Int>() {
fun some<T : Iterable<Int>>(array: Array<String>) : Int {
val test:Int = 12
return test
}
}
// SET_TRUE: SPACE_BEFORE_EXTEND_COLON
// SET_FALSE: SPACE_AFTER_EXTEND_COLON