Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong error locations with send #4

Open
samth opened this issue Jan 9, 2012 · 0 comments
Open

Wrong error locations with send #4

samth opened this issue Jan 9, 2012 · 0 comments

Comments

@samth
Copy link
Collaborator

samth commented Jan 9, 2012

#lang racket

(require class0)

(define-class A%

  (define/public (ok)
    (send 0 oops))

  (define/public (bad)
    (new A% 0)))

; Run each of these separately in DrRacket:
;(send (new A%) ok)  ; Good error location: body of `ok' method
;(send (new A%) bad) ; Bad error location: call site of `bad' method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant