Podlang syntax for quoted predicates (#495)
This commit is contained in:
parent
a4069bcc55
commit
22d25e5cb2
11 changed files with 453 additions and 14 deletions
|
|
@ -287,6 +287,17 @@ fn render_validation_error(
|
|||
ValidationError::NoRequestBlock => {
|
||||
render_title_only(renderer, "requests must contain a REQUEST block")
|
||||
}
|
||||
|
||||
ValidationError::SelfReferentialPredicateLiteralNotAllowedInRequests { span } => {
|
||||
render_with_optional_span(
|
||||
renderer,
|
||||
source,
|
||||
path,
|
||||
"self-referential predicate literal not allowed in requests",
|
||||
span.as_ref(),
|
||||
"not allowed here",
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue