You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, opening a file created in DrRacket in VSCode throws the error Missing or invalid #lang line from define lang-diag as seen in check-syntax.rkt. However this file compiles and runs just fine. Below is an example of the first three lines inserted by DrRacket.
;; The first three lines of this file were inserted by DrRacket. They record metadata
;; about the language level of this file in a form that our tools can easily process.
#reader(lib "htdp-intermediate-lambda-reader.ss" "lang")((modname 1-family) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f () #f)))
The text was updated successfully, but these errors were encountered:
Because this project open file with racket:text% class, the class requires the language file must have #lang line, so it would only accidentally work for non-racket language (I know it sounds weird)
Files created by DrRacket do not have `#lang` directives; they only
have `#reader` directives instead. (See e.g.
jeapostrophe#86).
The "Missing `#lang`" diagnostic should not be reported in these files.
Fixesjeapostrophe#86.
By default, opening a file created in DrRacket in VSCode throws the error
Missing or invalid #lang line
fromdefine lang-diag
as seen incheck-syntax.rkt
. However this file compiles and runs just fine. Below is an example of the first three lines inserted by DrRacket.The text was updated successfully, but these errors were encountered: