honu icon indicating copy to clipboard operation
honu copied to clipboard

[Honu] Error highlightning in DrRacket

Open samth opened this issue 9 years ago • 1 comments
trafficstars

From @soegaard on June 28, 2014 13:37

The program

#lang racket (+ 1 "x")

will when run in DrRacket color the expression (+ 1 "x") red.

The corresponding Honu program doesn't color the offending expression:

#lang honu 1+"x"

Copied from original issue: racket/racket#693

samth avatar Mar 10 '16 14:03 samth

From @harrisi on March 10, 2016 3:6

It seems like the problem is that it doesn't highlight contract violations, but other errors are correctly highlighted. For example:

#lang honu
1 + x

x is highlighted (unbound identifier error), but if it's just a contract violation (such as your example), there is no highlighting. I have no idea how to fix this. I am not sure where such highlighting or error reporting or what would live in Honu/DrRacket.

Although not specifically related to this error, I propose this issue is moved to the racket/honu repository to go along with racket/honu@e0967c070f27e7afcc44d81dc4970baceb8f5c6c

samth avatar Mar 10 '16 14:03 samth