After doing a class edit that normally causes a problem on recompile, I can confirm that assigning "unencoded_code (i + 1).to_character_32" to an intermediate variable fixes the problem. This should provide a clue as to where exactly the compilation problem is.