racket / rhombus-prototype

Brainstorming and draft proposals for Rhombus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`super` outside of a class uses wrong syntax object for error

samdphillips opened this issue · comments

fun foo():
  super(1,2,3)

rhombus-prototype/rhombus/private/class-method.rkt:510:30: head: allowed only within methods and constructors in: head

https://github.com/racket/rhombus-prototype/blob/master/rhombus/private/class-method.rkt#L510