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

update gox version #1489

Merged
merged 2 commits into from
Oct 23, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions cl/compile_c2go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ C.printf C"Hello, world!\n"
`, `package main

import (
libc "github.com/goplus/gop/cl/internal/libc"
unsafe "unsafe"
"github.com/goplus/gop/cl/internal/libc"
"unsafe"
)

func main() {
Expand All @@ -53,8 +53,8 @@ C.printf C"Hello, world!\n"
`, `package main

import (
libc "github.com/goplus/gop/cl/internal/libc"
unsafe "unsafe"
"github.com/goplus/gop/cl/internal/libc"
"unsafe"
)

func main() {
Expand All @@ -71,8 +71,8 @@ C.printf C"Hello, world!\n"
`, `package main

import (
libc "github.com/goplus/gop/cl/internal/libc"
unsafe "unsafe"
"github.com/goplus/gop/cl/internal/libc"
"unsafe"
)

func main() {
Expand Down
46 changes: 23 additions & 23 deletions cl/compile_spx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func onMsg(msg string) {
}
`, `package main

import spx "github.com/goplus/gop/cl/internal/spx"
import "github.com/goplus/gop/cl/internal/spx"

type Game struct {
*spx.MyGame
Expand Down Expand Up @@ -211,8 +211,8 @@ func onInit() {
`, ``, `package main

import (
fmt "fmt"
spx "github.com/goplus/gop/cl/internal/spx"
"fmt"
"github.com/goplus/gop/cl/internal/spx"
)

const Foo = 1
Expand Down Expand Up @@ -248,8 +248,8 @@ func onInit() {
`, `package main

import (
spx "github.com/goplus/gop/cl/internal/spx"
math "math"
"github.com/goplus/gop/cl/internal/spx"
"math"
)

type Game struct {
Expand Down Expand Up @@ -301,7 +301,7 @@ func onCloned() {
}
`, `package main

import spx "github.com/goplus/gop/cl/internal/spx"
import "github.com/goplus/gop/cl/internal/spx"

type Game struct {
*spx.MyGame
Expand Down Expand Up @@ -341,8 +341,8 @@ println "Hi"
`, `package main

import (
fmt "fmt"
spx "github.com/goplus/gop/cl/internal/spx"
"fmt"
"github.com/goplus/gop/cl/internal/spx"
)

var x float64 = spx.Rand__1(1.2)
Expand Down Expand Up @@ -378,8 +378,8 @@ func onMsg(msg string) {
`, `package main

import (
fmt "fmt"
spx2 "github.com/goplus/gop/cl/internal/spx2"
"fmt"
"github.com/goplus/gop/cl/internal/spx2"
)

type Game struct {
Expand Down Expand Up @@ -410,8 +410,8 @@ func onMsg(msg string) {
`, `package main

import (
fmt "fmt"
spx2 "github.com/goplus/gop/cl/internal/spx2"
"fmt"
"github.com/goplus/gop/cl/internal/spx2"
)

type Game struct {
Expand Down Expand Up @@ -442,8 +442,8 @@ func onMsg(msg string) {
`, `package main

import (
fmt "fmt"
spx2 "github.com/goplus/gop/cl/internal/spx2"
"fmt"
"github.com/goplus/gop/cl/internal/spx2"
)

type Dog struct {
Expand Down Expand Up @@ -472,7 +472,7 @@ func TestSpxMainEntry(t *testing.T) {
`, `
`, `package main

import spx2 "github.com/goplus/gop/cl/internal/spx2"
import "github.com/goplus/gop/cl/internal/spx2"

type Game struct {
spx2.Game
Expand All @@ -491,7 +491,7 @@ var (
`, `
`, `package main

import spx2 "github.com/goplus/gop/cl/internal/spx2"
import "github.com/goplus/gop/cl/internal/spx2"

type Game struct {
spx2.Game
Expand Down Expand Up @@ -525,8 +525,8 @@ func onMsg(msg string) {
`, `package main

import (
fmt "fmt"
spx2 "github.com/goplus/gop/cl/internal/spx2"
"fmt"
"github.com/goplus/gop/cl/internal/spx2"
)

type Game struct {
Expand Down Expand Up @@ -566,7 +566,7 @@ func onMsg(msg string) {
}
`, `package main

import spx "github.com/goplus/gop/cl/internal/spx"
import "github.com/goplus/gop/cl/internal/spx"

type Game struct {
*spx.MyGame
Expand Down Expand Up @@ -624,7 +624,7 @@ func onCloned() {
}
`, `package main

import spx "github.com/goplus/gop/cl/internal/spx"
import "github.com/goplus/gop/cl/internal/spx"

type info struct {
x int
Expand Down Expand Up @@ -672,7 +672,7 @@ func onMsg(msg string) {
}
`, `package main

import spx "github.com/goplus/gop/cl/internal/spx"
import "github.com/goplus/gop/cl/internal/spx"

type Game struct {
*spx.MyGame
Expand Down Expand Up @@ -705,8 +705,8 @@ func onMsg(msg string) {
`, `package main

import (
fmt "fmt"
spx "github.com/goplus/gop/cl/internal/spx"
"fmt"
"github.com/goplus/gop/cl/internal/spx"
)

type Game struct {
Expand Down
Loading