sorry i didn't read the frontend carefully enough. it handles the different cases. but i still don't get why my little func couldn't be evaulated in compile time