ceylon / ceylon-spec

DEPRECATED
Apache License 2.0
108 stars 34 forks source link

Type hole with Object considered a subtype of type functions #1332

Closed jvasileff closed 9 years ago

jvasileff commented 9 years ago
Integer parseInteger(String s) {
    <T> => T t = s of Object;
    return t<Integer>;
}
gavinking commented 9 years ago

Oops, how did that happen :-)

gavinking commented 9 years ago

Heh. How could I possibly have written that? Fixed now :)

jvasileff commented 9 years ago

how did that happen

I don't know, but it was a very powerful feature while it lasted

gavinking commented 9 years ago

haha.