diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2023-09-12 17:20:50 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-09-19 17:20:01 +0000 |
| commit | 7fc73ab5f6fbe46655855079954b26dcc14576b3 (patch) | |
| tree | 92953fc85e50ad39be631f0bf90ec14d7daa6f63 /test_code.rb | |
| parent | 4da53fd3a7a08d80b0b63640a6351dd4d1250b72 (diff) | |
[ruby/yarp] Only keep semantic fields in Java, i.e. skip location fields
* Add $YARP_SERIALIZE_ONLY_SEMANTICS_FIELDS to control where to serialize location fields at templating time,
this way there is no overhead for either case and nothing to check at runtime.
* Add a byte in the header to indicate whether location fields are included as expected.
* Fixes https://github.com/ruby/yarp/issues/807
* Simplify the build-java CI job now that the FFI backend is available so JRuby can serialize.
* Support keeping some location fields which are still needed until there is a replacement
https://github.com/ruby/yarp/commit/fc5cf2df12
Diffstat (limited to 'test_code.rb')
0 files changed, 0 insertions, 0 deletions
