Skip to content

Commit

Permalink
disabled warnings again
Browse files Browse the repository at this point in the history
  • Loading branch information
krauthaufen committed Oct 8, 2022
1 parent 2699e04 commit cbac704
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 5.2.12
* disabled warnings again

### 5.2.11
* printing warnings when Expr.TryGetReflectedDefinition fails

Expand Down
4 changes: 1 addition & 3 deletions src/Libs/FShade.Imperative/Utilities.fs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ module ExprWorkardound =
let TryGetReflectedDefinition (mb : MethodBase) =
lock lockObj (fun _ ->
try Expr.TryGetReflectedDefinition mb
with e ->
Aardvark.Base.Report.Warn(sprintf "Expr.TryGetReflectedDefinition failed on %0A %0A with:\r\n%0A" mb.DeclaringType mb e)
None
with e -> None
)

module Peano =
Expand Down

0 comments on commit cbac704

Please sign in to comment.