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(gnovm): improve error message for nil assignment in variable declaration #3068

Merged
merged 20 commits into from
Dec 10, 2024

Merge branch 'master' into fix/improve-nil-not-assignable

dd82008
Select commit
Loading
Failed to load commit list.
Merged

fix(gnovm): improve error message for nil assignment in variable declaration #3068

Merge branch 'master' into fix/improve-nil-not-assignable
dd82008
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Dec 6, 2024 in 0s

88.96% of diff hit (target 63.41%)

View this Pull Request on Codecov

88.96% of diff hit (target 63.41%)

Annotations

Check warning on line 1128 in gnovm/pkg/gnolang/preprocess.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/preprocess.go#L1128

Added line #L1128 was not covered by tests

Check warning on line 1189 in gnovm/pkg/gnolang/preprocess.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/preprocess.go#L1189

Added line #L1189 was not covered by tests

Check warning on line 1261 in gnovm/pkg/gnolang/preprocess.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/preprocess.go#L1261

Added line #L1261 was not covered by tests

Check warning on line 1299 in gnovm/pkg/gnolang/preprocess.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/preprocess.go#L1299

Added line #L1299 was not covered by tests

Check warning on line 1580 in gnovm/pkg/gnolang/preprocess.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/preprocess.go#L1580

Added line #L1580 was not covered by tests

Check warning on line 2253 in gnovm/pkg/gnolang/preprocess.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/preprocess.go#L2253

Added line #L2253 was not covered by tests

Check warning on line 828 in gnovm/pkg/gnolang/type_check.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/type_check.go#L828

Added line #L828 was not covered by tests

Check warning on line 2444 in gnovm/pkg/gnolang/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/types.go#L2444

Added line #L2444 was not covered by tests

Check warning on line 2448 in gnovm/pkg/gnolang/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/types.go#L2448

Added line #L2448 was not covered by tests

Check warning on line 2457 in gnovm/pkg/gnolang/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/types.go#L2457

Added line #L2457 was not covered by tests

Check warning on line 2461 in gnovm/pkg/gnolang/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/types.go#L2461

Added line #L2461 was not covered by tests

Check warning on line 2472 in gnovm/pkg/gnolang/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/types.go#L2472

Added line #L2472 was not covered by tests

Check warning on line 2492 in gnovm/pkg/gnolang/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/types.go#L2492

Added line #L2492 was not covered by tests

Check warning on line 2508 in gnovm/pkg/gnolang/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/types.go#L2507-L2508

Added lines #L2507 - L2508 were not covered by tests

Check warning on line 2579 in gnovm/pkg/gnolang/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/types.go#L2579

Added line #L2579 was not covered by tests