PR# 16550 Syntax error when last feature of a class is an attribute and a "note" section follows

Problem Report Summary
Submitter: sauzachn
Category: Compiler
Priority: Medium
Date: 2010/01/10
Class: Bug
Severity: Serious
Number: 16550
Release: 6.5.8.1777
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
Synopsis: Syntax error when last feature of a class is an attribute and a "note" section follows

Description
When the last feature of a class is an attribute and is immediately followed by a "note" the compiler gives a syntax error. When I put a ";" after the feature, the syntax error disappears.
To Reproduce
class FOO

   i:INTEGER

note

   foo: "bar"

end
Problem Report Interactions