Permalink
Browse files

[fix] compiler, database: Assert on set access

  • Loading branch information...
1 parent 62b9b1d commit 5701953abb352084640fdb64bcd6c64aba432c41 @BourgerieQuentin BourgerieQuentin committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 compiler/libqmlcompil/dbGen/schema_private.ml
@@ -1348,7 +1348,7 @@ let preprocess_paths_expr ?(val_=(fun _ -> assert false)) t gamma e =
match kind with
| Db.Option ->
begin match virtual_ with
- `virtualset _ ->
+ `virtualset (_, _, false, _) ->
QmlError.serror context
"This @{<bright>read access is inconsistent@} a database set always exists\nReplace the @{<bright>optional@} read access by a @{<bright>direct@} read access"
| _ -> ()

0 comments on commit 5701953

Please sign in to comment.