Permalink
Browse files

[fix] compiler, database: Error if the access key is partial

  • Loading branch information...
1 parent 1f7a698 commit 18b0ccb5218fddf971f3ce8507403f62968a28a4 @BourgerieQuentin BourgerieQuentin committed Nov 14, 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 (_, _, false, _) ->
+ `virtualset (_, _, true, _) ->
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 18b0ccb

Please sign in to comment.