Error when REPL tries to print value of type Posix.FileSys.ST.stat #67
Labels
basis-lib
problem with Standard ML Basis library
bug
Something isn't working
fixed-in-110.99.3
issues that will be fixed in the 110.99.3 version
gforge
bug (or feature request) ported from smlnj-gforge repository
Version
110.99.2
Operating System
OS Version
No response
Processor
No response
Component
Basis Library
Severity
Major
Description of the problem
When using SML/NJ interactively, the SML/NJ REPL shows an error whenever there is a result of type Posix.FileSys.ST.stat.
For example, when evaluating Posix.FileSys.stat "/etc/passwd";
Transcript
No response
Expected Behavior
No response
Steps to Reproduce
No response
Additional Information
No response
Email address
No response
Comments from smlnj-gforge
Original smlnj-gforge bug number 310
Submitted on 2022-05-19 at 09:48:00
comment by @JohnReppy on 2022-05-20 14:20:00 +000 UTC
The issue seems to be with the
dev
field of thestat
record.This field is represented as a singleton data constructor that wraps a Word64.word value.
comment by @JohnReppy on 2022-05-20 14:30:00 +000 UTC
Fixed for 2022.1 and 110.99.3. The fix is was to the
isUbxTy
function in theppobj.sml
file.The text was updated successfully, but these errors were encountered: