[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"
command.

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

The banner is: Welcome to DrRacket, version 5.1.0.5--2011-04-01(e8eea05/a) [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 5.1.0.4 and older):

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

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

 === context ===
standard-module-name-resolver
C:\Programmi\Racket-Full-5.1.0.5\collects\algol60\parse.rkt: [traversing imports
]
C:\Programmi\Racket-Full-5.1.0.5\collects\algol60\compile.rkt: [traversing impor
ts]
C:\Programmi\Racket-Full-5.1.0.5\collects\algol60\tool.rkt: [traversing imports]

C:\Programmi\Racket-Full-5.1.0.5\collects\drracket\private\tools.rkt:282:4
C:\Programmi\Racket-Full-5.1.0.5\collects\racket\private\map.rkt:45:11: for-each

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


Cheers
P.
-------------- 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.