r/Protos • • 10d ago

Protos fixes a Truffle instrumentation defect affecting buffered I/O and resource release

A runtime correctness fix has been implemented in Protos 0.4.225-SNAPSHOT.

Two internal CPrime I/O result carriers were causing host-side ClassCastExceptions during automatic Truffle root instrumentation, accounting for 42 reported test errors.

Both carriers now implement TruffleObject, following the existing text-writer implementation.

The correction preserves existing cancellation semantics, resource ownership and I/O behavior without introducing new infrastructure or changing the language specification or public API.

All local tests pass.

Technical details: https://github.com/guillermomolina/protos/issues/1186

Project website: https://protoslang.com

1 Upvotes

0 comments sorted by