We're all using them at least a bit because it gives the error ASTOpNode found when Int expected if we don't. But... Yeah. I forget how to get around that in a clean, non-hack way. Should have written it down.
Anyone remember how to get the Int values out of config parameters or whatnot?
Because it feels really stupid to have to write val imgSize = 40 * 40 when I have both height and width parameters.
Incidentally, since I've audited the code, once I know how to remove them I can comb back through the code and make those changes (then test that everything still compiles before pushing back to the repo, of course).
We're all using them at least a bit because it gives the error ASTOpNode found when Int expected if we don't. But... Yeah. I forget how to get around that in a clean, non-hack way. Should have written it down.
Anyone remember how to get the Int values out of config parameters or whatnot? Because it feels really stupid to have to write
val imgSize = 40 * 40
when I have both height and width parameters.Incidentally, since I've audited the code, once I know how to remove them I can comb back through the code and make those changes (then test that everything still compiles before pushing back to the repo, of course).
@31downto0 @sberul