diff options
author | Olly Betts <olly@survex.com> | 2023-04-20 09:51:44 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2023-04-20 09:51:44 +1200 |
commit | 0e0e2fffb97d39ff52e2d3c68a4d30c38c692630 (patch) | |
tree | a98a6f0ff6765d56eb0a5eed74e6b06a78903511 | |
parent | 8c7241040716f72922b6ee88fdee1d28760e82a4 (diff) | |
download | swig-0e0e2fffb97d39ff52e2d3c68a4d30c38c692630.tar.gz |
Clarify comment in _runme.go
-rw-r--r-- | Examples/test-suite/go/argcargvtest_runme.go | 5 |
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) } |