Skip to content

compiler error when applying a method to a constant #495

@petar

Description

@petar
What steps will reproduce the problem?
The (non)program:

const c = 3
c.String()

What is the expected output? What do you see instead?

See compiler error:
<epoch>: fatal error: dowidth: unknown type: ideal

What is your $GOOS?  $GOARCH?
darwin, amd64

Which revision are you using?  (hg identify)
7c524d50a210 tip

Please provide any additional information below.
The compiler simply "seg-faults" without line number or any other
meaningful report.

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