Fixed no error when declaring a variable with a wrong-typed Literal