[parrot/parrot] 0c99d3: LexPad: Add register_type method

GitHub noreply at github.com
Thu Apr 12 20:54:21 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 0c99d32436fff7e5d21da6070f799792d4ab0d3a
      https://github.com/parrot/parrot/commit/0c99d32436fff7e5d21da6070f799792d4ab0d3a
  Author: Brian Gernhardt <brian.gernhardt at mail.rit.edu>
  Date:   2012-04-12 (Thu, 12 Apr 2012)

  Changed paths:
    M src/pmc/lexpad.pmc
    M t/pmc/lexpad.t

  Log Message:
  -----------
  LexPad: Add register_type method

This allows for the type of a lexical to be introspected before
retrieval.  This is useful because attempting to store the lexical in
the wrong type of register throws an error.





More information about the parrot-commits mailing list