-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io/format/print-message(<condition>) doesn't work #1429
Comments
opendylan/sources/io/format.dylan Lines 74 to 83 in 89e8413
I wonder what the problem is with |
My current problem: I signal a subclass of define method io/print-message (cond :: <lox-error>, stream :: <stream>) => ()
apply(io/format, stream,
cond.condition-format-string,
cond.condition-format-arguments);
io/force-output(stream);
end method; This goes directly against what the doc says: "You should not specialize the print-message protocol for subclasses of , but instead extend the print-message protocol to new condition objects by specializing methods on report-condition." So anyway, maybe we just need a similar method defined on |
The documentation for |
As said in documentation https://opendylan.org/documentation/library-reference/io/format.html#io:format:print-message([condition]) the method
print-message(<condition>)
doesn't work.The text was updated successfully, but these errors were encountered: