summaryrefslogtreecommitdiff
path: root/test/asset/parser/type-annotation.et
blob: 811b54b809474541ac193bdae7a773721cfc90ce (plain)
1
2
3
4
5
6
7
8
def fun (a : String) and (b : String):
    let c = [ a, "x" ]
    let d = [ b : String, "y" : String ]
    guard (c /= d)

test Test:
    let x = "" : String
    fun "a" and "b"