Closed evjava closed 3 years ago
Code: printf("test: %s", GLOBAL ("x").string)
printf("test: %s", GLOBAL ("x").string)
expected: test: GLOBAL ("x") actual: test: GLOBA ("x")
test: GLOBAL ("x")
test: GLOBA ("x")
The same for failure and sprintf.
failure
sprintf
Environment description OS: Ubuntu 18.04.5 opam version: 2.0.7 Lama version: {commit: 66dc5c30, date: 24.11.20}
Not a bug; an implementation restriction --- only the first 5 symbols of constructors are taken into account.
Code:
printf("test: %s", GLOBAL ("x").string)
expected:
test: GLOBAL ("x")
actual:test: GLOBA ("x")
The same for
failure
andsprintf
.Environment description OS: Ubuntu 18.04.5 opam version: 2.0.7 Lama version: {commit: 66dc5c30, date: 24.11.20}