Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: account for recursion when stringing to avoid overflow #1315

Merged
merged 21 commits into from
Dec 21, 2023

use type inference to avoid further type switches

aadbe3a
Select commit
Loading
Failed to load commit list.
Merged

fix: account for recursion when stringing to avoid overflow #1315

use type inference to avoid further type switches
aadbe3a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Dec 7, 2023 in 1s

45.05% of diff hit (within 100.00% threshold of 56.08%)

View this Pull Request on Codecov

45.05% of diff hit (within 100.00% threshold of 56.08%)

Annotations

Check warning on line 29 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 68 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L68

Added line #L68 was not covered by tests

Check warning on line 74 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 82 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L82

Added line #L82 was not covered by tests

Check warning on line 96 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L96

Added line #L96 was not covered by tests

Check warning on line 106 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L105-L106

Added lines #L105 - L106 were not covered by tests

Check warning on line 130 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L130

Added line #L130 was not covered by tests

Check warning on line 136 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L133-L136

Added lines #L133 - L136 were not covered by tests

Check warning on line 144 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L138-L144

Added lines #L138 - L144 were not covered by tests

Check warning on line 146 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L146

Added line #L146 was not covered by tests

Check warning on line 150 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L150

Added line #L150 was not covered by tests

Check warning on line 156 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L155-L156

Added lines #L155 - L156 were not covered by tests

Check warning on line 163 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L163

Added line #L163 was not covered by tests

Check warning on line 196 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L196

Added line #L196 was not covered by tests

Check warning on line 206 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L205-L206

Added lines #L205 - L206 were not covered by tests

Check warning on line 288 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L287-L288

Added lines #L287 - L288 were not covered by tests

Check warning on line 293 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L292-L293

Added lines #L292 - L293 were not covered by tests

Check warning on line 300 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L299-L300

Added lines #L299 - L300 were not covered by tests

Check warning on line 346 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L346

Added line #L346 was not covered by tests

Check warning on line 373 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L372-L373

Added lines #L372 - L373 were not covered by tests

Check warning on line 386 in gnovm/pkg/gnolang/values_string.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values_string.go#L384-L386

Added lines #L384 - L386 were not covered by tests