You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Open Dylan 2020.1 or master branch from a few days ago, the following program hangs indefinitely. Remove , help: "help" from the call to print-synopsis and it doesn't hang.
(I feel like I must be missing some obvious mistake because we would have noticed this before.)
#1141 seems at least tangentially relevant, in that open generics are obviously handled quite differently from sealed generics.
==> hang/hang.dylan <==
Module: hang
define open generic print-synopsis
(parser :: <string>, subcmd :: false-or(<integer>), #key stream);
define method print-synopsis
(parser :: <string>, subcmd == #f,
#key stream :: <stream> = *standard-output*)
format-out("print-synopsis(p, #f)\n");
force-out();
end method;
define method print-synopsis
(parser :: <string>, subcmd :: <integer>,
#key stream :: <stream> = *standard-output*)
format-out("print-synopsis(p, s)\n");
force-out();
end method;
// Remove the help arg and no hang.
print-synopsis("string", #f, stream: *standard-output*, help: "help");
==> hang/library.dylan <==
Module: dylan-user
define library hang
use common-dylan;
use io;
end library hang;
define module hang
use common-dylan;
use format-out;
use standard-io;
end module hang;
The text was updated successfully, but these errors were encountered:
Using Open Dylan 2020.1 or master branch from a few days ago, the following program hangs indefinitely. Remove
, help: "help"
from the call toprint-synopsis
and it doesn't hang.(I feel like I must be missing some obvious mistake because we would have noticed this before.)
#1141 seems at least tangentially relevant, in that open generics are obviously handled quite differently from sealed generics.
The text was updated successfully, but these errors were encountered: