@doofenstein Your explanation makes so much sense! I spent hours debugging this.

And this was the fix :D
    
    
     proc f_scopetest_nim() {.exportc, dynlib.} =
       var
         scope = svGetScope()
       let
    -    origScopeName = svGetNameFromScope(scope)
    +    origScopeName = $svGetNameFromScope(scope)
    
    
    Run

Reply via email to