[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Check Syntax Question
Here's my file:
(define-struct piece (position))
(define-struct (straight-piece piece) ())
I press "Check Syntax" and here's the error:
#<struct:object:derived-from-definitions-text%>:3:32: define-struct: parent
struct type not defined at: piece in: (define-struct (straight-piece piece)
())
When I press "Execute" I have no error.
???
Here's my version:
Welcome to DrScheme, version 199.24d4.
Language: Graphical (MrEd).
Thanks.