module Bootsnap::CompileCache::ISeq

def self.storage_to_output(binary, _args)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.storage_to_output: (String binary, nil _args) -> RubyVM::InstructionSequence

This signature was generated using 112 samples from 3 applications.

def self.storage_to_output(binary, _args)
  RubyVM::InstructionSequence.load_from_binary(binary)
rescue RuntimeError => error
  if error.message == "broken binary format"
    $stderr.puts("[Bootsnap::CompileCache] warning: rejecting broken binary")
    nil
  else
    raise
  end
end