Skip to content

Commit 2dd6182

Browse files
committed
Removed inapplicable assertion.
1 parent fb4c4d6 commit 2dd6182

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Nu/Nu/Core/Xtension.fs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ module Xtension =
4040
let mutable propertyRef = Unchecked.defaultof<_>
4141
match UMap.tryGetValue (name, xtension.Properties, &propertyRef) with
4242
| true ->
43-
#if DEBUG
44-
if property.PropertyType <> propertyRef.PropertyType then
45-
failwith "Cannot change the type of an existing Xtension property."
46-
#endif
4743
if xtension.Imperative then
4844
propertyRef.PropertyValue <- property.PropertyValue
4945
struct (true, xtension)

0 commit comments

Comments
 (0)