archives

« Bugzilla Issues Index

#2951 — 14.5.11: NonConstructorMethodDefinitions is a List of what?


In 14.5.11, NonConstructorMethodDefinitions is defined to return a List of ClassElements.

In 14.5.16 / group 1 / step 16, it's assumed to return a List of MethodDefinitions.

At some point, you have to use the phrase:
"the MethodDefinition of the ClassElement".
Given the name of the routine, you should probably do so in 14.5.11.

(leftover from 2535)


We actually want to generate a list of method definition ClassElements. They need to be a class element because they are later test to see if they are static.

It's generally ok to use ClassElement in place of MethodDefinition becase the the chain rule will just pass through any MethodDefinition sematic rules.

However, there were a couple bugs in NonConstructorMethodDefinitions that I fixed in rev26 editor's draft.


fixed in rev26


confirmed fixed