PR# 5218 Terminal indexing immediately following an attribute declaration generates error
Problem Report Summary
Submitter:
Category: Compiler
Priority: Low
Date: 2005/07/19
Class: Bug
Severity: Non-critical
Number: 5218
Release: 5.5.1008
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Synopsis: Terminal indexing immediately following an attribute declaration generates error
Description
I guess you must already know this, but just in case you don't I am reporting the problem. Is there a list of known bugs I can refer to so that I avoid reporting a known bug? An indexing clause occurring at the end of a class and that immediately follows an attribute declaration generates an error. Removing the indexing or inserting a routine immediately before the indexing removes the error.
To Reproduce
This code generates an error: indexing class ROOT_CLASS create make feature -- Initialization make is -- Creation procedure. do --| Add your code here end feature {NONE} -- Access index: INTEGER -- Index -- dummy is -- -- Dummy routine -- do -- end indexing end -- class ROOT_CLASS But if you remove the terminal indexing or uncomment the dummy routine then the file compiles.
Problem Report Interactions