Skip to content

bug: Struct fields no longer suggested in root.createFoo APIs #2445

@iwoplaza

Description

@iwoplaza

I noticed that struct fields are no longer suggested when asking the IDE for available field names in the initial value:

Image

It does however suggest field names of functions... so as an experiment, I flipped the order of the overloads, having the plain value form first, initializer second:

Image

And it fixed the issue:

Image

It would be great to add regression tests for this using attest

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions