You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.
This should hold for the binary format, but a minimal example shows that the bytes are not preserved:
frombblfshimport*file="fixtures/test.py"client=BblfshClient("localhost:9432")
ctx=client.parse(file)
root=ctx.root.get()
pyCtx=context(root)
originalBytes=ctx._response.uastencodedBytes=pyCtx.encode(fmt=0)
# This is falseoriginalBytes==encodedBytes# This is truedecode(encodedBytes).load() ==root
For more context, check out scala-client#127. Problem may lie here, where we are not returning NODE_UINT in any case. In the scala-client we do return NODE_UINT for some cases.
The text was updated successfully, but these errors were encountered:
This should hold for the binary format, but a minimal example shows that the bytes are not preserved:
For more context, check out scala-client#127. Problem may lie here, where we are not returning
NODE_UINT
in any case. In thescala-client
we do returnNODE_UINT
for some cases.The text was updated successfully, but these errors were encountered: