Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions query/language/expression.feature
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,16 @@ Feature: TypeQL Query with Expressions
Given transaction closes

# Non-cyclic query, just inverted dependencies in two branches.
# TODO: This is legal, but currently fails because our validation is too coarse.
# The validation introduced in #7900 is finer and permits this.
Given connection open read transaction for database: typedb
Then typeql read query; fails with a message containing: "illegal circular expression assignment & usage"
When get answers of typeql read query
"""
match
{ let $x = 5; let $y = $x; } or
{ let $y = 6; let $x = $y; };
select
$x, $y;
"""
#Then verify answer size is: 2
Then answer size is: 2
Given transaction closes


Expand Down