Skip to content

Cryptic error message #103

@bradunov

Description

@bradunov

I have a function
fun comp cca(energy_threshold : int32) { ... }
which returns some struct (struct CCAParams).
And I call it in
read >>> cca(200) >>> write.
The problem here is that I haven't bound the return type, so I essentially have to write
read >>> {cca(200); return()} >>> write
to do this. But the actual error message for this is very uninformative:
GenericError "CodeGen: Unbound struct type "CCAParams" detected!\nBound are: ["complex16","complex32","complex64","complex8"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions