https://issues.dlang.org/show_bug.cgi?id=3052

Dennis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #2 from Dennis <[email protected]> ---
Up to 2.064 the error was indeed "template instance fun!(hun) cannot use local
'hun' as parameter to non-global template fun(alias fun)(A n)"

Since 2.065 it says:
onlineapp.d(15): Error: need 'this' for 'next' of type 'onlineapp.A'

Which is true, since gun is a static function and `next` a member variable.

--

Reply via email to