summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2023-04-20 09:51:44 +1200
committerOlly Betts <olly@survex.com>2023-04-20 09:51:44 +1200
commit0e0e2fffb97d39ff52e2d3c68a4d30c38c692630 (patch)
treea98a6f0ff6765d56eb0a5eed74e6b06a78903511
parent8c7241040716f72922b6ee88fdee1d28760e82a4 (diff)
downloadswig-0e0e2fffb97d39ff52e2d3c68a4d30c38c692630.tar.gz
Clarify comment in _runme.go
-rw-r--r--Examples/test-suite/go/argcargvtest_runme.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/Examples/test-suite/go/argcargvtest_runme.go b/Examples/test-suite/go/argcargvtest_runme.go
index 31c56b8c0..3da3d76dd 100644
--- a/Examples/test-suite/go/argcargvtest_runme.go
+++ b/Examples/test-suite/go/argcargvtest_runme.go
@@ -13,7 +13,10 @@ func main() {
panic(rs)
}
-// wrap.Mainv("hello", 1) // Fail compilation!!
+// For dynamically typed languages we test this throws an exception or similar
+// at runtime, but for Go this doesn't even compile (but we can't easily
+// test for that here).
+// wrap.Mainv("hello", 1)
wrap.InitializeApp(largs)
}