archives

« Bugzilla Issues Index

#2509 — 14.3 MethodDefinition, 14.4 GeneratorMethod: Missing Contains definition


14.3 MethodDefinition and 14.4 GeneratorMethod should probably override the definition for `Contains`, so they don't inherit the default definition from 5.3.


fixed in rev23 editor's draft

rather than override contains I added ComputedPropertyContains and made sure it was called containers of methods.


Hmm, I didn't spot the existing Contains override in 12.1.5.2 for ObjectLiteral, so adding ComputedPropertyContains is the right choice rather than adding Contains for MethodDefinition.


fixed in rev23 draft