[dylan-lang/opendylan] 112b2a: [dfmc-conversion] Fix internal error from macro fo...

GitHub <[email protected]> Wed, 29 Jul 2015 23:36:09 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <55b9c5d93f609_6673ffcebba32b8587f1@hookshot-fe3-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 112b2a159a630311af6f66adae8e880ee100f4df
      https://github.com/dylan-lang/opendylan/commit/112b2a159a630311af6f66adae8e880ee100f4df
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-07-25 (Sat, 25 Jul 2015)

  Changed paths:
    M sources/dfmc/conversion/convert.dylan

  Log Message:
  -----------
  [dfmc-conversion] Fix internal error from macro foward reference.

A forward reference to a macro resulted in an internal compiler error
due to there being no applicable method for convert-using-definition
that takes a <variable-name-fragment>. Adding a method for this and
having it warn about the error is sufficient to let the compiler
continue.

Fixes #947.

* sources/dfmc/conversion/convert.dylan
  (<forward-macro-reference>): New serious warning.
  (convert-using-definition on form <variable-name-fragment>): Issue warning
    and emit an error call when this method is called.


  Commit: 01af54937653034dc009d3f9d4b668f3de98126b
      https://github.com/dylan-lang/opendylan/commit/01af54937653034dc009d3f9d4b668f3de98126b
  Author: Peter S. Housel <[email protected]>
  Date:   2015-07-29 (Wed, 29 Jul 2015)

  Changed paths:
    M sources/dfmc/conversion/convert.dylan

  Log Message:
  -----------
  Merge pull request #948 from waywardmonkeys/macro-forward-reference

[dfmc-conversion] Fix internal error from macro foward reference.


Compare: https://github.com/dylan-lang/opendylan/compare/b2b72112fda3...01af54937653

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter