[racket-dev] bug in indenter

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Fri Apr 8 06:04:10 EDT 2011

Please excuse me for not using the proper form for bug reports, but
with the web form I cannot attach files, and I cannot use the "report
bug" command in racket for firewall reasons.

In the attached file, line 89 is not indented correctly neither
pressing tab with the cursor on the line nor with the "Reindent all"

If I insert manually some spaces in the line, then the line is
indented correctly.

The banner is: Welcome to DrRacket, version [3m].
Environment is: windows "Windows NT 5.1 (Build 2600) Service Pack 3"
(win32\i386\3m) (get-display-depth) = 32

(please DON'T look at the file content if you have just eaten, or keep
ready a barf bag.
It's a quick port of http://www.cs.berkeley.edu/~wkahan/testpi/cfpi.l)


Also, when starting DrRacket, the following error is signalled in a
console window (did not happen in and older):

Error invoking tool #<path:C:\Programmi\Racket-Full-\collects\algol60>;("

default-load-handler: expected a `module' declaration for `prims', found: someth
ing else in: #<path:C:\Programmi\Racket-Full-\collects\algol60\compiled\p

 === context ===
C:\Programmi\Racket-Full-\collects\algol60\parse.rkt: [traversing imports
C:\Programmi\Racket-Full-\collects\algol60\compile.rkt: [traversing impor
C:\Programmi\Racket-Full-\collects\algol60\tool.rkt: [traversing imports]

C:\Programmi\Racket-Full-\collects\racket\private\map.rkt:45:11: for-each

C:\Programmi\Racket-Full-\collects\drracket\private\tools.rkt:70:0: load/
C:\Programmi\Racket-Full-\collects\drracket\tool-lib.rkt: [running body]
[running body]
C:\Programmi\Racket-Full-\collects\drracket\drracket.rkt: [running body]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfpi.rkt
Type: application/octet-stream
Size: 2510 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110408/bec745e9/attachment.obj>

Posted on the dev mailing list.