SpacemanDMM
SpacemanDMM copied to clipboard
Union return types don't parse correctly
Error:
got '|', expected one of: '{', ';', if, while, do, for, spawn, switch, try, set, break, continue, del, var, return, CRASH, throw, goto, operator, term
Code:
/datum/hud/critter/proc/create_stamina_element() as num | null
I can't be bothered to find the BYOND bug report, but note that this was broken in BYOND too until very recently.
/datum/hud | null isn't legal in BYOND either so I'll assume you mean input types like num|text which do need fixing