fuzion
fuzion copied to clipboard
Bad indentation does not cause an error
The following example
ex is
iaws (val u8) =>
val = (u8 9) ||
val = (u8 10)
say (iaws (u8 1))
say (iaws (u8 9))
has bad indentation in the iaws feature but this does not cause an error. See also https://github.com/tokiwa-software/fuzion/pull/1494#discussion_r1203455980.
@fridis What is the logic needed to detect this bad indentation? Should we enforce indentation to be at least two spaces?