#281: Cannot raise Lang.Invalid_data with abritrary Lang.value
-------------------------+--------------------------------------------------
Reporter: toots | Owner: admin
Type: Bugs | Status: closed
Priority: 1 | Milestone: NEAR FUTURE
Component: Liquidsoap | Version: 0.9.0+svn
Resolution: invalid | Keywords:
Mac: 1 | Linux: 1
Netbsd: 1 | Other: 1
Freebsd: 1 |
-------------------------+--------------------------------------------------
Changes (by mrpingouin):
* status: new => closed
* resolution: => invalid
Comment:
Hi Toots.
This is a feature, not a bug: I want users to see which parameter is
wrong.
What you need to do is to use the original Lang value that was passed to
your operator, instead of re-wrapping your int in a location-less value.
This involves either passing the value for the object construction,
instead of the int that it contains, or checking the validity of your
value before constructing the object.
(Maybe we could add a phantom type to Lang.value to indicate whether it
has a location or not?...)
--
Ticket URL: <http://savonet.rastageeks.org/ticket/281#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac