PR# 11154 Compiler incorrectly accepts Obsolete clause for inline agent
Problem Report Summary
Submitter: prestoat2000
Category: Compiler
Priority: Medium
Date: 2006/08/31
Class: Bug
Severity: Non-critical
Number: 11154
Release: 5.7.63005
Confidential: No
Status: Open
Responsible: konradm
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.10) Gecko/20050726 Firefox/1.0.6
Solaris 9 on SPARC
Synopsis: Compiler incorrectly accepts Obsolete clause for inline agent
Description
Compile with attached class. Compiler accepts inline agent with an Obsolete clause, though ECMA-367 2nd edition does not allow this (it only allows an Attribute_or_Routine, which does not include the Obsolete clause). An inline agent that is obsolete doesn't seem to make any sense.
To Reproduce