discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Oddness could result in unintended, and possibly hard to find errors.

A
adrian
Sun, Jan 25, 2015 6:31 PM

Is there a reason to have /hidden/ parameters?

Which gives me:

This is ok at least as it is pointed out that 'value' was used but not
defined.  But in this case:

It give this:

I would think that this could be a source of bugs as someone may pass a
parameter by name and if the parameter name doesn't exist it would continue
on it's merry way using a variable that was defined somewhere else in the
file causing hard to find bugs.

Also, is there a way of putting out filenames and line numbers where the
warning occurred?

A

--
View this message in context: http://forum.openscad.org/Oddness-could-result-in-unintended-and-possibly-hard-to-find-errors-tp11241.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Is there a reason to have /hidden/ parameters? Which gives me: This is ok at least as it is pointed out that 'value' was used but not defined. But in this case: It give this: I would think that this could be a source of bugs as someone may pass a parameter by name and if the parameter name doesn't exist it would continue on it's merry way using a variable that was defined somewhere else in the file causing hard to find bugs. Also, is there a way of putting out filenames and line numbers where the warning occurred? A -- View this message in context: http://forum.openscad.org/Oddness-could-result-in-unintended-and-possibly-hard-to-find-errors-tp11241.html Sent from the OpenSCAD mailing list archive at Nabble.com.