Sha256: 25d771e69246a9a9ef758ec322bc902353ea63ea0d5e0d4e495ccda391df904f
Contents?: true
Size: 346 Bytes
Versions: 5
Compression:
Stored size: 346 Bytes
Contents
# frozen_string_literal: true module Dry class Struct class Compiler < Types::Compiler def visit_struct(node) struct, _ = node struct.__getobj__ rescue ::WeakRef::RefError if struct.weakref_alive? raise else raise RecycledStructError end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems