Skip to content

proposal: spec: reconsider rule disallowing div-0 by constants #10006

@griesemer

Description

@griesemer

http://play.golang.org/p/flvr-MFRgR

is a perfectly reasonable program that doesn't compile. Perhaps the spec rule (which admittedly, I advocated) was a mistake after all.

We could reconsider this since permitting it would be backward-compatible.

(See also #10004 for context.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions