Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#207] Pretty printing of numeric types like Int32.int as ?.int32 in REPL

Date:
2018-05-20 13:15
Priority:
3
State:
Open
Submitted by:
John Reppy (jhr)
Assigned to:
David MacQueen (dbm)
Machine Architecture:
All
Operating System:
None
Component:
Compiler
Resolution:
Accepted As Bug
Severity:
Cosmetic
OS Version:
any
SML/NJ Version:
110.82
Keywords:
pretty-printing
URL:
Transcript (of reproduction):
Standard ML of New Jersey v110.82 [built: Sat Oct 14 13:08:58 2017] - val x : Int32.int = 1; [autoloading] [library $SMLNJ-BASIS/basis.cm is stable] [library $SMLNJ-BASIS/(basis.cm):basis-common.cm is stable] [autoloading done] val x = 1 : Int32.int - val y = x * 12; val y = 12 : ?.int32 - datatype t = T of Int32.int; datatype t = T of ?.int32
Source (for reproduction):
val x : Int32.int = 1; val y = 12 * x; datatype t = T of Int32.int;
Summary:
Pretty printing of numeric types like Int32.int as ?.int32 in REPL

Detailed description
In some cases, known numeric types like Int32.in get printed as ?.int32. This problem occurs when printing the result of an expression, but not in a simple binding example.

This bug is recorded as bugs number 1300 and 1399 in the old open bugs list.

Comments:

No Comments Have Been Posted

Attached Files:

Changes

No Changes Have Been Made to This Item