. .


More Upgrade Fun with VisualWorks

January 3, 2013 18:28:36.000

This change happened back in 7.8, but since we are only now upgrading, we ran into it while going from 7.6 to 7.9.1. Take code that looks like this in VW 7.6:

point := 4@-5.

In 7.6, that gives you a point object. In newer VW? It gives you the message #@- sent to 4 with an argument of 5. Same thing with fractions. Not hard to fix - just look for senders of #@- and #/- and then use a rewrite rule to fix them. Better yet, it was turned up by our unit test suite :)

Tags: ,

posted by James Robertson

 Share Tweet This