Closed DarwinAwardWinner closed 5 years ago
Looking into the git history, it seems the offending line was introduced in 0586f25925f4db4a181c7d7d0a3925bb8a6daecf, part of the diceResult branch. I checked out the last commit before the latest merge of this branch into master, bd4a0c837bd5e3b4dbf9d3dcef892850d04ec6ac, and that commit builds and runs just fine.
Hi,
This commit https://github.com/Rolisteam/DiceParser/commit/934387b1219ee16ab38d5a2a7e2f6e87f46b9900 should fix this issue.
Thanks!
I was interested in building this myself to use the CLI dice roller, but I ran into a problem compiling it:
This appears to be in the
startDiceParsing
function. Looking at the code, I don't see adiceList
variable declared anywhere in the function. Furthermore, the lines before and after this line refer tostringResult
while this line refers toresultStr
, which makes it look out of place. So I suspect that this is a mistake in the code. Unfortunately, I'm not familiar enough with the codebase to know how to fix this myself.I'm using commit 48de810db56b728726ec8b499b9a12c687b53795, the latest master at time of writing.