Opened 5 years ago

Closed 5 years ago

#813 closed bug (fixed)

newstruct should give warning when using only one character

Reported by: steenpass Owned by: somebody
Priority: minor Milestone: 4-2-0 and higher
Component: dontKnow Version: 4-1-0
Keywords: Cc:


> newstruct("s", "string a");

is not allowed according to the manual. However, it doesn't give a warning. Then,

> s n;
   ? `s` is undefined
   ? error occurred in or before STDIN line 2: `s n;`

doesn't work.

Change History (1)

comment:1 Changed 5 years ago by hannes

Resolution: fixed
Status: newclosed

fixed with c3abfcce79c48aa77ab7c235621197ecdc8c09d8 (reports an error)

Note: See TracTickets for help on using tickets.