2005 A word literal was negative. Words cannot be negative. val neg = ~0w123 (** ^^^^^^ negative word literal *) To fix Use a different type, like int, or remove the negative sign. val negInt = ~123 val posWord = 0w123