I am trying to work out why the following line:
let emailQuotation: Expr<LoginView -> string> = <@ fun (v: LoginView) -> v.Email.Text @>
is failing with a compile error, saying "Lookup of object on indeterminate type...". The property ViewModel.Email
is a Xamarin Forms Entry
, containing a Text
property.
What more information does the compiler need, and why is it not able to interpret this expression?