[Gambas-user] [Git][gambas/gambas][master] Get rid of unitialized variables warnings in the IDE source code.

Adrien Prokopowicz adrien.prokopowicz at gmail.com
Wed Feb 14 23:16:54 CET 2018


Le 14/02/2018 à 22:37, Jussi Lahtinen a écrit :
> Example if you declare function Test(x as integer) and call it 
> Test("a"), there could be *compile* time error message about wrong type. 
> TypeScript does that, even when it is otherwise dynamic language.
> 
> 
> Jussi
> 
> On Wed, Feb 14, 2018 at 11:24 PM, Benoît Minisini <g4mba5 at gmail.com 
> <mailto:g4mba5 at gmail.com>> wrote:
> 
>     Le 14/02/2018 à 22:17, Jussi Lahtinen a écrit :
> 
>         Btw, did you see my mail about type checking in dynamic
>         languages, like in TypeScript? I was just curious whether that
>         could be possible in some extend in Gambas.
> 
> 
>         Jussi
> 
> 
>     I saw the mail, but I have no idea what you were talking about.
> 
>     -- 
>     Benoît Minisini

That would be very nice to have, but I'm not sure if this wouldn't clash 
with the fact that Gambas has Duck Typing ? (altough I haven't seen it 
used anywhere, let alone mentioned in the documentation)

-- 
Adrien Prokopowicz


More information about the User mailing list