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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt: fix interface fields alignment #19866

Merged
merged 4 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion vlib/builtin/js/array.js.v
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ pub interface JS.TypedArray {
mut:
byteLength JS.Number
byteOffset JS.Number
length JS.Number
length JS.Number
}

pub interface JS.Uint8Array {
Expand Down
2 changes: 1 addition & 1 deletion vlib/builtin/js/builtin.v
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn panic(s string) {
pub interface IError {
// >> Hack to allow old style custom error implementations
// TODO: remove once deprecation period for `IError` methods has ended
msg string
msg string
code int // <<
msg() string
code() int
Expand Down
2 changes: 1 addition & 1 deletion vlib/builtin/result.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module builtin
pub interface IError {
// >> Hack to allow old style custom error implementations
// TODO: remove once deprecation period for `IError` methods has ended
msg string
msg string
code int // <<
msg() string
code() int
Expand Down