From 1b17a9acd296a34edbf5a5076f966aa95b6dd73f Mon Sep 17 00:00:00 2001 From: Matthew Giannini Date: Fri, 20 Sep 2024 17:17:22 -0400 Subject: [PATCH] nodeJs: fix type comparison bug. cannot use ref equality --- src/nodeJs/fan/ts/GenTsDecl.fan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodeJs/fan/ts/GenTsDecl.fan b/src/nodeJs/fan/ts/GenTsDecl.fan index b5b92c629..a8fd5cfca 100644 --- a/src/nodeJs/fan/ts/GenTsDecl.fan +++ b/src/nodeJs/fan/ts/GenTsDecl.fan @@ -202,7 +202,7 @@ class GenTsDecl private Bool includeSlot(CType type, CSlot slot) { // declared only slots, not inherited - if (slot.parent !== type) return false + if (slot.parent != type) return false // skip @NoDoc if (isNoDoc(slot)) return false