URL: <http://gna.org/bugs/?25137>
Summary: Unhelpful error "bad range" when ruleset has bad requirement type or value Project: Freeciv Submitted by: jtn Submitted on: Sun 02 Oct 2016 11:28:49 AM BST Category: None Severity: 3 - Normal Priority: 5 - Normal Status: In Progress Assigned to: jtn Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: Any Planned Release: Contains string changes: No _______________________________________________________ Details: If the "Type" or "Name" of a requirement in a ruleset fails validation, it is misdiagnosed as "bad range". e.g. reqs = { "type", "name", "range" ... "OutputType", "Stoat", "Local" } gives 1: Invalid requirement OutputType | Local | | present | Stoat: bad range 1: "/home/jtn/src/freeciv/git/btrunk/../data/civ2civ3/effects.ruleset" [effect_ai_cheat_lux] has invalid or unknown req: "OutputType" "Stoat". _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?25137> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev