@@ -2702,8 +2702,8 @@ module Purity = struct
taint node
| Some e ->
try
- if is_pure c cf then raise Exit;
if (Meta.has (Meta.Custom ":impure")) cf.cf_meta then taint_raise node;
+ if is_pure c cf then raise Exit;
loop e;
node.pn_purity <- Pure;
with Exit ->
@@ -479,6 +479,7 @@ class Bytes {
#end
}
+ @:pure
public static function ofString( s : String ) : Bytes {
#if neko
return new Bytes(s.length,untyped __dollar__ssub(s.__s,0,s.length));