ufront / ufront-mvc

The core MVC framework that powers ufront
MIT License
17 stars 15 forks source link

Private generic function without accesor in UFApi #43

Closed kevinresol closed 6 years ago

kevinresol commented 8 years ago

In a UFApi, the following code will fail.

function test<T>(t:T):T
{
    return t;
}

But adding the private keyword will work:

private function test<T>(t:T):T
{
    return t;
}
kevinresol commented 6 years ago

Cleaning up my old issues and I think this is no longer needed.