Skip to content

source location wrong in runtime error #33

@rfindler

Description

@rfindler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions