Project

General

Profile

Actions

Task #6941

closed

lua: review and document lua rule return types

Added by Jason Ish about 1 year ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

The documentation, and S-V test cover Lua rules returning 0 and 1. However, it looks like the code has support to handle a return value of key/value pairs, or at least the intention to do so but its not actually happening.

Perhaps it might be best to just allow 0 and 1, and consider any other return value/type an error?

Actions #1

Updated by Victor Julien 3 months ago

  • Target version changed from 8.0.0-beta1 to 8.0.0-rc1
Actions #2

Updated by Jason Ish 23 days ago

  • Target version changed from 8.0.0-rc1 to 8.0.0

Not going to make rc1. I don't think any of these are documented, so maybe we can still clean it up for final release. As our promise to users was the documented functions/features would have a replacement.

Actions #3

Updated by Jason Ish 14 days ago

  • Assignee changed from OISF Dev to Jason Ish
Actions #4

Updated by Jason Ish 11 days ago

  • Status changed from New to In Review
Actions #5

Updated by Jason Ish 8 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF