Method: TypeProf::Core::HashSplatBox#run0
- Defined in:
- lib/typeprof/core/graph/box.rb
#run0(genv, changes) ⇒ Object
379 380 381 382 383 384 385 386 387 388 389 |
# File 'lib/typeprof/core/graph/box.rb', line 379 def run0(genv, changes) @hsh.each_type do |ty| ty = ty.base_type(genv) if ty.mod == genv.mod_hash changes.add_edge(genv, ty.args[0].new_vertex(genv, :__hash_splat), @unified_key) changes.add_edge(genv, ty.args[1].new_vertex(genv, :__hash_splat), @unified_val) else "???" end end end |