Typed Racket
Go to file
Asumu Takikawa 758d4a64b0 Fix typed private class fields with functions
A public method definition and a private field that contains
a function are hard to distinguish without traversing the entire
class body, which caused TR to fail to detect the private field
case. TR now uses more compile-time state to precisely
distinguish the cases.

Also fixes a related bug in which TR would incorrectly handle
multiple private fields defined with a single `define-values`.

Closes PR 14788

original commit: 670c8576851cb21e910778f913270a0752e7ede4
2014-10-23 00:20:07 -04:00
pkgs/typed-racket-pkgs Fix typed private class fields with functions 2014-10-23 00:20:07 -04:00