Skip to content

Add support for error constructor in the front end

e73ab9a
Select commit
Loading
Failed to load commit list.
Draft

Add support for error constructor expressions #191

Add support for error constructor in the front end
e73ab9a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Feb 23, 2026 in 1s

72.25% of diff hit (target 27.99%)

View this Pull Request on Codecov

72.25% of diff hit (target 27.99%)

Annotations

Check warning on line 659 in ast/ast.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/ast.go#L658-L659

Added lines #L658 - L659 were not covered by tests

Check warning on line 663 in ast/ast.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/ast.go#L662-L663

Added lines #L662 - L663 were not covered by tests

Check warning on line 443 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L442-L443

Added lines #L442 - L443 were not covered by tests

Check warning on line 447 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L446-L447

Added lines #L446 - L447 were not covered by tests

Check warning on line 976 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L975-L976

Added lines #L975 - L976 were not covered by tests

Check warning on line 980 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L979-L980

Added lines #L979 - L980 were not covered by tests

Check warning on line 984 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L983-L984

Added lines #L983 - L984 were not covered by tests

Check warning on line 988 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L987-L988

Added lines #L987 - L988 were not covered by tests

Check warning on line 992 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L991-L992

Added lines #L991 - L992 were not covered by tests

Check warning on line 1022 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1020-L1022

Added lines #L1020 - L1022 were not covered by tests

Check warning on line 1024 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1024

Added line #L1024 was not covered by tests

Check warning on line 1032 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1031-L1032

Added lines #L1031 - L1032 were not covered by tests

Check warning on line 1036 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1035-L1036

Added lines #L1035 - L1036 were not covered by tests

Check warning on line 1041 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1039-L1041

Added lines #L1039 - L1041 were not covered by tests

Check warning on line 1043 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1043

Added line #L1043 was not covered by tests

Check warning on line 1047 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1046-L1047

Added lines #L1046 - L1047 were not covered by tests

Check warning on line 1051 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1050-L1051

Added lines #L1050 - L1051 were not covered by tests

Check warning on line 1055 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1054-L1055

Added lines #L1054 - L1055 were not covered by tests

Check warning on line 1059 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1058-L1059

Added lines #L1058 - L1059 were not covered by tests

Check warning on line 1063 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1062-L1063

Added lines #L1062 - L1063 were not covered by tests

Check warning on line 1067 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1066-L1067

Added lines #L1066 - L1067 were not covered by tests

Check warning on line 1071 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1070-L1071

Added lines #L1070 - L1071 were not covered by tests

Check warning on line 1078 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1074-L1078

Added lines #L1074 - L1078 were not covered by tests

Check warning on line 1083 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1082-L1083

Added lines #L1082 - L1083 were not covered by tests

Check warning on line 1087 in ast/expressions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

ast/expressions.go#L1086-L1087

Added lines #L1086 - L1087 were not covered by tests