Opened 9 years ago
Closed 9 years ago
#644 closed bug (fixed)
newstruct: asssignments from string components is incomplete
Reported by: | gorzel | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | 4-1-0 and higher |
Component: | singular-kernel | Version: | 4-0-0 |
Keywords: | newstruct | Cc: |
Description
Only the first character from a string variable in a newstruct is read off:
newstruct("nt","int a,poly b,string c"); nt A; A.c ="hello"; string s; s = A.c; s; h // "ello" is missing
Note: See
TracTickets for help on using
tickets.
fixed with 254e61531655a15367b3d2caad6390570c2ec315