assyrianic / SourceGo

SourceGo is a transpiler that transforms a subset of Golang-like code to equivalent SourcePawn.
https://forums.alliedmods.net/showthread.php?t=328269
MIT License
25 stars 3 forks source link

Allow Slice expressions for function call arguments #8

Open assyrianic opened 2 years ago

assyrianic commented 2 years ago

SourcePawn actually does allow slices, just not the way golang can fully express. As of this writing, Go2SP transpiler completely blocks slice expressions of any kind.

We should reallow them but for function call arguments only.