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 1 sample from 1 application.

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