You can now use once methods on a const class per proposal 2820. Note the caveats in the updated docs.
We've also made a subtle change in allowable function types. Previously you could only use This in a function type if the full function type was |This->Void| (for use in it-blocks method params). We've relaxed those rules to allow This to be used in any function parameter position, but only when the function type appears as a method parameter (which is covariantly safe).
Change Log
Build 1.0.76 (10 May 2021)
Allow This to be in any func param position as method param
brian Mon 10 May 2021
We have posted a new Fantom build.
This is mostly a much needed maintenance build.
But there are a few small language features...
You can now use once methods on a const class per proposal 2820. Note the caveats in the updated docs.
We've also made a subtle change in allowable function types. Previously you could only use
This
in a function type if the full function type was|This->Void|
(for use in it-blocks method params). We've relaxed those rules to allowThis
to be used in any function parameter position, but only when the function type appears as a method parameter (which is covariantly safe).Change Log
Build 1.0.76 (10 May 2021)
SlimerDude Wed 12 May 2021
Hooray! Thanks! :D