sounds like maybe a problem with the implicit field that gets created
brianWed 1 Jun 2011
Ticket resolved in 1.0.59
I messed around with lots of different solutions to this problem, but I don't think there is really a satisfactory solution without severely complicating the design or using a second field. Given the back and forth nature of Java array to/from Fantom List solutions, any non-trivial once solution would have misleading performance. So I decided to just disallow use of a FFI type with a once method. The work around is to manually write the caching code.
vkuzkokov Thu 28 Apr 2011
So here I have a virtual method:
That I want to implement though FFI:
It compiles but doesn't actually work:
brian Thu 28 Apr 2011
Promoted to ticket #1512 and assigned to brian
sounds like maybe a problem with the implicit field that gets created
brian Wed 1 Jun 2011
Ticket resolved in 1.0.59
I messed around with lots of different solutions to this problem, but I don't think there is really a satisfactory solution without severely complicating the design or using a second field. Given the back and forth nature of Java array to/from Fantom List solutions, any non-trivial once solution would have misleading performance. So I decided to just disallow use of a FFI type with a once method. The work around is to manually write the caching code.