Skip to content

Commit effb49f

Browse files
committed
fix js compilation
Change-Id: Ied50ee0a22e5cdee3e4a69bc89a27decf09e20a9
1 parent 15f6025 commit effb49f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Diff for: src/net/net_fake_js.go

-7
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
package net
1010

1111
import (
12-
"context"
1312
"internal/poll"
14-
15-
"golang.org/x/net/dns/dnsmessage"
1613
)
1714

1815
// Network file descriptor.
@@ -30,7 +27,3 @@ type netFD struct {
3027
pfd poll.FD
3128
isConnected bool // handshake completed or use of association with peer
3229
}
33-
34-
func (r *Resolver) lookup(ctx context.Context, name string, qtype dnsmessage.Type, conf *dnsConfig) (dnsmessage.Parser, string, error) {
35-
panic("unreachable")
36-
}

0 commit comments

Comments
 (0)