tov / dssl2

A data structures student language, version 2
MIT License
9 stars 4 forks source link

source location wrong in runtime error #33

Open rfindler opened 1 year ago

rfindler commented 1 year ago

In this program:

#lang dssl2

class C:
     let fd
     def __init__(self):
         self.fd == None

C()

the error message points inside the class system. Changing this code to:

(syntax/loc stx ...)

where the ellipses has what's currently on those lines (minus the #') seems to fix the issue.