[Gambas-user] Internal compiler error with New

Jussi Lahtinen jussi.lahtinen at ...626...
Mon Jan 27 22:10:30 CET 2014


??
That doesn't make any sense, what do you think it should do?

Jussi


On Mon, Jan 27, 2014 at 10:39 PM, Tobias Boege <taboege at ...626...> wrote:

> Hi Benoit,
>
> attached is a project that generates an "internal compiler error" with this
> usage of the New keyword:
>
> Public Sub Main()
>   New Boolean[]
> End
>
> Actually, this is the project's whole code. What's wrong with it? Could we
> be able to do such a thing so that, e.g. PathWatch (gb.inotify) objects
> don't need a Dim'd variable anymore? (I can think of classes where that's
> equally useful: the ones which record themselves upon creation in some
> static array or collection to be referenced later; they don't need to be
> assigned to a variable when their constructor terminated.) If not, no big
> deal.
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>



More information about the User mailing list