Skip to content

Red code is green: invalid indirect of o (type Ormer) #2019

@ignatov

Description

@ignatov
type Ormer interface { Insert(interface{}) } func Save(o Ormer) { (*o).Insert(1) // should be an error: invalid indirect of o (type Ormer) }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions