Skip to content

Line number info missing from #lang htdp #253

@mikesperber

Description

@mikesperber

Consider this BSL program:

(: foo (Integer -> Integer))

(define (foo n)
  (+ n 1))

(: bar (Integer -> Integer))

(define (bar n)
   n)

(bar "bar")

Running it in the menu-based "Beginning student" language gives line number info for the signature violation. Not so #lang htdp/bsl.

The reason is this code in the menu-based languages:

(define (with-mark source-stx expr phase)

(I don't know how to do the same for #lang.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions