Allow -i on scripts not returning sources
-----------------------------------------

                 Key: LS-593
                 URL: http://dev.sourcefabric.org/browse/LS-593
             Project: Liquidsoap
          Issue Type: Bug
            Reporter: Samuel Mimram
            Assignee: David Baelde


In order to check the type of 5 (or something more complicated...) the natural 
thing is to do the following

$ ./liquidsoap -i '5'
At line 1, char 1: The result of evaluating this term will be dropped, but
  it does not have type unit or active_source. Use ignore(...) if you meant
  to drop it, otherwise this is a sign that your script does not do
  what you intend.

Could -i modify the behavior so that we can check the type of script whose 
result is not a source? Of course I can use liquidsoap -i 'x = 5' but it took 
me 5 minutes with internet to figure this out...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à