Skip to content

Commit 73c8375

Browse files
committed
chore: run yarn format
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent 31f54fb commit 73c8375

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

compiler/stmt-range.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ package compiler
33
import (
44
"fmt"
55
"go/ast"
6+
"go/token"
67
"go/types"
78
"strings"
89

9-
"go/token"
10-
1110
"github.com/pkg/errors"
1211
)
1312

gs/reflect/iter.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ import { uintptr } from './types.js'
33

44
import * as iter from '@goscript/iter/index.js'
55

6-
export function rangeNum<
7-
T extends
8-
| number
9-
| uintptr,
10-
N extends number | number,
11-
>(num: N, t: Type): iter.Seq<Value> {
6+
export function rangeNum<T extends number | uintptr, N extends number | number>(
7+
num: N,
8+
t: Type,
9+
): iter.Seq<Value> {
1210
// cannot use range T(v) because no core type.
1311

1412
// if the iteration value type is define by

0 commit comments

Comments
 (0)