[Bug] printf without extra arguments.
nineties opened this issue · 2 comments
nineties commented
amber:1> printf("Hello")
Exception: MatchingFailed{domain = (oss, fmt @ String, args...) when oss.OutputStream? | (fmt @ String, args...), ["Hello"]}
nineties commented
Maybe checking of the domain (oss, fmt @ String, args...) when oss.OutputStream?
is wrong.
amber:1> printf("Hello")
Exception: MatchingFailed{domain = (oss, fmt @ String, args...) when oss.OutputStream? | (fmt @ String, args...), ["Hello"]}
amber:1> stdout.printf("Hello")
Hello=> nil
amber:2> printf.domain
(fmt @ String, args...)"])
=> domain = (oss, fmt @ String, args...) when oss.OutputStream?
| (fmt @ String, args...)
amber:3> stdout.printf.domain
=> domain = (fmt @ String, args...)