Skip to content

Should overflow() method be required in PaintClass? #97

Closed
@upsuper

Description

@upsuper

It seems to me the current spec requires PaintClass to have overflow() method, otherwise registerPaint would fail.

However, with this requirement, it seems the Example 1 in the spec is invalid. The example there doesn't have the overflow() method.

That makes me wonder, do we really want to force authors to add this method, even if they don't want to change anything?

(BTW, it seems in PaintClass'd declaration, overflow() have void as its return type, which doesn't seem to make sense.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions