diff options
Diffstat (limited to 'src/js/javascript.nim')
-rw-r--r-- | src/js/javascript.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/javascript.nim b/src/js/javascript.nim index 1745235e..f13305c7 100644 --- a/src/js/javascript.nim +++ b/src/js/javascript.nim @@ -727,7 +727,7 @@ proc toJS(ctx: JSContext, s: seq): JSValue = return a proc getTypePtr[T](x: T): pointer = - when T is RootRef or T is pointer: + when T is RootRef: # I'm so sorry. # (This dereferences the object's first member, m_type. Probably.) return cast[ptr pointer](x)[] |