Skip to content

Commit b298bfe

Browse files
chore: moon info
1 parent 7279fad commit b298bfe

7 files changed

Lines changed: 35 additions & 25 deletions

File tree

decimal/pkg.generated.mbti

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Generated using `moon info`, DON'T EDIT IT
22
package "moonbitlang/x/decimal"
33

4-
import(
5-
"moonbitlang/core/bigint"
6-
"moonbitlang/core/json"
7-
"moonbitlang/core/quickcheck"
8-
"moonbitlang/core/quickcheck/splitmix"
9-
)
4+
import {
5+
"moonbitlang/core/bigint",
6+
"moonbitlang/core/json",
7+
"moonbitlang/core/quickcheck",
8+
"moonbitlang/core/quickcheck/splitmix",
9+
}
1010

1111
// Values
1212
pub let max_scale : Int

encoding/internal/benchmark/pkg.generated.mbti

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Generated using `moon info`, DON'T EDIT IT
22
package "moonbitlang/x/encoding/internal/benchmark"
33

4-
import(
5-
"moonbitlang/x/encoding"
6-
)
4+
import {
5+
"moonbitlang/x/encoding",
6+
}
77

88
// Values
99
pub fn bench_decoding_batch(@encoding.Encoding, Bytes) -> Unit

encoding/pkg.generated.mbti

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Generated using `moon info`, DON'T EDIT IT
22
package "moonbitlang/x/encoding"
33

4-
import(
5-
"moonbitlang/core/buffer"
6-
)
4+
import {
5+
"moonbitlang/core/buffer",
6+
}
77

88
// Values
99
pub const U_REP : Char = '�'
@@ -33,9 +33,13 @@ pub fn write_utf16le_char(@buffer.Buffer, Char) -> Unit
3333
pub fn write_utf8_char(@buffer.Buffer, Char) -> Unit
3434

3535
// Errors
36-
pub suberror MalformedError Bytes
36+
pub suberror MalformedError {
37+
MalformedError(Bytes)
38+
}
3739

38-
pub suberror TruncatedError Bytes
40+
pub suberror TruncatedError {
41+
TruncatedError(Bytes)
42+
}
3943

4044
// Types and methods
4145
type Decoder

fs/pkg.generated.mbti

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ pub fn write_bytes_to_file(String, Bytes) -> Unit raise IOError
2525
pub fn write_string_to_file(String, String, encoding? : String) -> Unit raise IOError
2626

2727
// Errors
28-
pub(all) suberror IOError String
28+
pub(all) suberror IOError {
29+
IOError(String)
30+
}
2931
pub impl Show for IOError
3032

3133
// Types and methods

json5/pkg.generated.mbti

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ package "moonbitlang/x/json5"
55
pub fn parse(String) -> Json raise ParseError
66

77
// Errors
8-
pub(all) suberror ParseError ParseErrorData
8+
pub(all) suberror ParseError {
9+
ParseError(ParseErrorData)
10+
}
911
pub fn ParseError::to_string(Self) -> String
1012
pub impl Show for ParseError
1113

rational/pkg.generated.mbti

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
// Generated using `moon info`, DON'T EDIT IT
22
package "moonbitlang/x/rational"
33

4-
import(
5-
"moonbitlang/core/bigint"
6-
"moonbitlang/core/quickcheck"
7-
"moonbitlang/core/quickcheck/splitmix"
8-
)
4+
import {
5+
"moonbitlang/core/bigint",
6+
"moonbitlang/core/quickcheck",
7+
"moonbitlang/core/quickcheck/splitmix",
8+
}
99

1010
// Values
1111
pub fn from_double(Double) -> Rational[Int64] raise RationalError
1212

1313
pub fn[T : Integral] new(T, T) -> Rational[T]?
1414

1515
// Errors
16-
pub(all) suberror RationalError String
16+
pub(all) suberror RationalError {
17+
RationalError(String)
18+
}
1719
pub impl Eq for RationalError
1820
pub impl Show for RationalError
1921
pub impl ToJson for RationalError

stack/pkg.generated.mbti

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Generated using `moon info`, DON'T EDIT IT
22
package "moonbitlang/x/stack"
33

4-
import(
5-
"moonbitlang/core/list"
6-
)
4+
import {
5+
"moonbitlang/core/list",
6+
}
77

88
// Values
99

0 commit comments

Comments
 (0)