Struct Issues #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is really two issues, but they are very closely linked.
Issue 1
Attempting to get the type of a struct reports
undefinedError: Could not get type?? This should never be reached. Please report this issue.Issue 2
I have the following code:
The last line,
!vec1.init, should error, as a list is returned instead of a Vector. However, it returns the list.Another issue:
getlistsize &struct &len1This gives a C++ Runtime Error:
Instead of a ground error (something like
struct is not a listwould be expected).Another issue:
getlistsize &struct.field &len2returnssyntaxError: Couldn't find the list vec2.values(vec2.values is a list).I can use this code as a workaround:
Another bug: You can't jump within struct functions