dvanhorn/dpc — Issue #9: "define" does not work in class/1 or above
Author: takikawa
Created: 2012-01-31 03:47:29+00:00
State: open

The following code fails with an error:

#lang class/1

(define-class point%
(fields x y)
(define (move-x dx)
(new point%
(+ (send this x) dx)
(send this y))))

The error is "define-class: There were multiple syntax errors. The first error follows:
expected the identifier `isl+:check-range' in: define"

This is a problem since class/1 and higher are supposed to be supersets of class/0.