Skip to content

tree.Compile: gofmt with parser.SkipObjectResolution#203

Merged
pointlander merged 1 commit into
pointlander:mainfrom
dolmen-go:tree.Compile-parser.SkipObjectResolution
May 24, 2026
Merged

tree.Compile: gofmt with parser.SkipObjectResolution#203
pointlander merged 1 commit into
pointlander:mainfrom
dolmen-go:tree.Compile-parser.SkipObjectResolution

Conversation

@dolmen
Copy link
Copy Markdown
Contributor

@dolmen dolmen commented May 23, 2026

In tree.Compile, at the final step that process the generated source with go/parser and go/printer to kinda gofmt it, parse with flag SkipObjectResolution. Object resolution is deprecated since the generics era (go/types must be used). This flag allows to save resources (cpu, memory) by not doing work we don't use.

In tree.Compile, at the final step that process the generated source
with go/parser and go/printer to kinda gofmt it, parse with flag
"SkipObjectResolution". Object resolution is deprecated since the
generics era. This iflag allows to save resources (cpu, memory) by not
doing work we don't use.
@pointlander pointlander merged commit 792d23c into pointlander:main May 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants