Edit examples/fwt/clock.fan:
Add any fandoc (i.e. **) comment after the shebang line but before the using clause:
**
** free willzyx
Trying to run the script produces this output:
Compiler error: "C:\fantom-1.0.52\examples\fwt\clock.fan(4,1): Expected 'class', not 'using' ERROR: cannot compile script
In theory (grammar) fandocs are to directly precede the type or slot they are documenting.
This was a file-level comment though, and didn't cause a problem when this code was first written (circa build 1.0.47)
Login or Signup to reply.
qualidafial Sat 24 Apr 2010
Edit examples/fwt/clock.fan:
Add any fandoc (i.e.
**
) comment after the shebang line but before the using clause:Trying to run the script produces this output:
tcolar Sat 24 Apr 2010
In theory (grammar) fandocs are to directly precede the type or slot they are documenting.
qualidafial Sat 24 Apr 2010
This was a file-level comment though, and didn't cause a problem when this code was first written (circa build 1.0.47)