-
Notifications
You must be signed in to change notification settings - Fork 55
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
ToString
representation of some basic types are not mentioned
#1072
Comments
The table should say |
but that got lost in b59a88e Is that what jBallerina currently does? |
For the |
In addition, the spec does not mention the string representation of a
IINM, it is expected to be readonly & record {|int a;|} b = {a: 4};
io:println(typeof b); Since the typedesc describes a singleton structured value, should it be the shape of value |
Yes.
Hard to do in general, and will probably change in jBallerina when it implements semantic subtyping. So best just to leave as implementation-dependent for now. |
Ack. Thanks. |
Description:
In the spec in section https://ballerina.io/spec/lang/master/#ToString information about the
ToString
representation of some of the basic types are not mentioned. Following the section https://ballerina.io/spec/lang/master/#section_5.1.4,ToString
representation offunction
,future
,typedesc
,handle
,stream
basic behavioural types are missing. If the information ontuple
andrecord
types are the same asarray
andmap
types respectively, that can be also mentioned, if necessary.Suggested Labels:
Code sample that shows issue:
Related Issues:
#499
The text was updated successfully, but these errors were encountered: