Sha256: 318ac8bf527fcacd24aa6ffb6cbab939d1323919ec347f3079e4731e1fdcc4a8

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

module Mirah
  module JVM
    module Types
      class UnreachableType < Type
        def initialize
          super('java.lang.Object')
        end

        def to_s
          "Type(null)"
        end

        def unreachable?
          true
        end

        def compatible?(other)
          true
        end

        def assignable_from?(other)
          true
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mirah-0.1.0-java lib/mirah/jvm/types/unreachable_type.rb
mirah-0.1.0.pre-java lib/mirah/jvm/types/unreachable_type.rb