Skip to content

Commit

Permalink
Fix generics-related error in net/netip fuzz tests.
Browse files Browse the repository at this point in the history
One of the helper functions requires generics to work correctly. Until
they are properly supported we have to stub it out.

Generics support is tracked in
gopherjs#1013.
  • Loading branch information
nevkontakte committed Aug 1, 2022
1 parent b19a3f1 commit f13b14b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions compiler/natives/src/net/netip/fuzz_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//go:build js

package netip_test

import "testing"

func checkStringParseRoundTrip(t *testing.T, x interface{}, parse interface{}) {
// TODO(nevkontakte): This function requires generics to function.
// Re-enable after https://github.com/gopherjs/gopherjs/issues/1013 is resolved.
}

0 comments on commit f13b14b

Please sign in to comment.