Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix error from incorrect use of versions: field in dub.json. #26
The "versions" field in dub.json takes whatever you give it and passes it to the compiler as a parameter to -version. It has nothing to do with specifying a version of Dgame -- that's what git tags are for. So "versions" ["0.4.0"] was causing dub to pass -version=0.4.0 to DMD. Since DMD does not accept floating point numbers as version levels, compilation errored out with:
This PR removes that line and eliminates the error.