400e714131b4 — Leonard Ritter tip a day ago
* `property`: fixed certain implicit conversions failing
2 files changed, 2 insertions(+), 2 deletions(-)

M lib/scopes/core.sc
M lib/scopes/property.sc
M lib/scopes/core.sc +1 -1
@@ 448,7 448,7 @@ let storagecast =
             verify-count argcount 1 1
             let self = (sc_getarg args 0)
             let T = (sc_type_storage (sc_value_type self))
-            return `(bitcast self T)
+            return (sc_valueref_tag (sc_value_anchor args) `(bitcast self T))
 
 """".. spice:: (&? value)
 

          
M lib/scopes/property.sc +1 -1
@@ 20,7 20,7 @@ inline property (getter setter)
                 fn test-getter (value)
                     getter value
                 let F = (static-typify test-getter T)
-                returnof (typeof F)
+                unqualified (returnof (typeof F))
 
             inline __imply (cls destT)
                 static-if (imply? value-type destT)