-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b121
-
Verified
JShell supports two truncation limits, one for "explicit" results and one for "implicit" results. If e is an expression of type T:
jsh> e
// value of e, truncated to IMPLICIT limit
jsh> T x = e
// value of e, truncated to IMPLICIT limit
jsh> x
// value of e, truncated to EXPLICIT limit
The first case should use the EXPLICIT limit, since the user asked for a result.
jsh> e
// value of e, truncated to IMPLICIT limit
jsh> T x = e
// value of e, truncated to IMPLICIT limit
jsh> x
// value of e, truncated to EXPLICIT limit
The first case should use the EXPLICIT limit, since the user asked for a result.