chung-leong / zigar

Enable the use of Zig code in JavaScript project
https://chung-leong.github.io/zigar/
MIT License
182 stars 3 forks source link

Pointer variable not getting correctly exported #407

Closed chung-leong closed 4 months ago

chung-leong commented 4 months ago
  1) Integration tests (node-zigar, Debug)
       Type handling
         Pointer
           should import pointer as static variables:

      AssertionError: expected 'H' to equal 'Hello world'
      + expected - actual

      -H
      +Hello world

      at Context.<anonymous> (file:///home/cleong/zigar/zigar-compiler/test/integration/type-handling/pointer/tests.js:74:25)