Files
Joe Savona f8fa3a3cc7 [compiler] Don't show hint about ref-like naming if we infer another type
Some components accept a union of a ref callback function or ref object. In this case we may infer the type as a function due to the presence of invoking the ref callback function. In that case, we currently report a "Hint: name `fooRef` as "ref" or with a "-Ref" suffix..." even though the variable is already named appropriately — the problem is that we inferred a non-ref type. So here we check the type and don't report this hint if we inferred another type.
2025-09-18 08:33:23 -07:00
..