Added test with type alias

This commit is contained in:
Valentin Kipyatkov
2016-09-13 22:25:23 +03:00
parent d8759fcbcc
commit c0ea237ba4
2 changed files with 15 additions and 0 deletions
@@ -0,0 +1,9 @@
typealias Handler = (name: String) -> String
fun x(handler: Handler): String {
return handler(<caret>)
}
/*
Text: (<highlight>name: String</highlight>), Disabled: false, Strikeout: false, Green: true
*/