Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8805171

Browse files
author
Gustavo Guerra
committed
Fix compilation errors in Linq.fs for wp7 target
1 parent3277a7d commit8805171

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎src/fsharp/FSharp.Core/Linq.fs‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,10 @@ module LeafExpressionConverter =
781781
// provides no other way to evaluate the expression.
782782
//
783783
// REVIEW: It is possible it is just better to interpret the expression in many common cases, e.g. property-gets, values etc.
784-
letEvaluateQuotation(e:Microsoft.FSharp.Quotations.Expr)=
784+
letEvaluateQuotation(e:Microsoft.FSharp.Quotations.Expr):obj=
785+
#if FX_NO_QUOTATIONS_COMPILE
786+
raise(new NotSupportedException())
787+
#else
785788
match ewith
786789
| Value(obj,_)-> obj
787790
|_->
@@ -793,7 +796,7 @@ module LeafExpressionConverter =
793796
d.DynamicInvoke[| box()|]
794797
with:? System.Reflection.TargetInvocationExceptionas exn->
795798
raise exn.InnerException
796-
799+
#endif
797800

798801
#endif
799-
802+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp