Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Nim doc mangles signed octal literals #11131
Generating examples with
proc someProc* = runnableExamples: let a = 0o377'i8 doAssert a == 0o377'i8 discard
block: let a = 0o777'i8 doAssert a == 0o777'i8
block: let a = 0o377'i8 doAssert a == 0o377'i8
This does not happen with unsigned integers.