Ticket #246 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

plai signals unbound identifier for a field name

Reported by: robby Owned by: plai
Priority: major Milestone:
Component: plai/plai.plt Keywords:
Cc: Version: (1 10)
Racket Version:


In plai 1.10, the following code signals an error saying that 'value' is an unbound identifier, but it shouldn't I believe. (In 1.8, it signals no error.)

#lang planet plai/plai:1:10
(define-type DefrdSub?

[aSub (value boolean?)])

(define (lookup ds the-name)

(type-case DefrdSub? ds

[mtSub () 1]
[aSub (a-name) 2]))

Change History

Changed 8 years ago by plai

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.