[Rock-dev] [rock] #93: orogen: improve error reporting if stray dots exist in DSLs

rock noreply at opendfki.de
Wed Jan 18 16:31:09 CET 2012


#93: orogen: improve error reporting if stray dots exist in DSLs
---------------------------+-----------------------------------
Reporter:  sylvain.joyeux  |      Owner:  rock-dev-mailing-list
    Type:  defect          |     Status:  new
Priority:  major           |  Component:  base
Keywords:                  |
---------------------------+-----------------------------------
 The following (bad) orogen spec


   task().
     periodic.

   task()

 leads to a NoMethodError being thrown (and a "please report to orogen
 developpers). A better strategy would be to check where the NoMethodError
 is generated, and if applicable look at the last non-empty line before,
 checking if there is a stray dot. If there is one, report it to the user.

-- 
Ticket URL: <https://rock.opendfki.de/ticket/93>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list