Abe Pralle
Abe Pralle
I thought it would be easy too but I messed around for a few minutes and it's trickier than it seemed. Consider: ``` test( 5 ) routine test( n:Int32 )...
Oh - that's the solution! Routines are currently object `METHODS` of `Global`, but indeed they work perfectly well as `GLOBAL METHODS` of `Global`. I'll make that change sometime soon.
Good call again! I remember now that's the reason we made them object methods instead of class methods: if you call `Global.xyz` then you can get a function reference with...
Looks like a fat arrow on a global method works just fine already (!). So I'll try just switching routines to be GLOBAL METHODS and maybe it will be as...
Fixed here: https://github.com/AbePralle/Rogue/commit/cd4e3aae453130777abdce8d2d07a2732a038ab8 Works great!
IMO let's just rename `create_thread` to `Rogue_create_thread`, `RogueThread_create_thread`, or `roguethread_create_thread`. The third alternative matches the style of the other functions, but either of the first two are preferable only because...