New Issue: [Feature Request]: inlay types for function return types

28193, "jabraham17", "[Feature Request]: inlay types for function return types", "2025-12-11T17:21:42Z"

Summary of Feature

Description:
When writing Chapel code, its common to omit the return type and let the compiler infer it. It would be nice if CLS would then render the inferred return type.

Is this issue currently blocking your progress?
no

Code Sample

Type inlays show as block comments

// this is a concrete function, we should always get the type inlay
proc foo(x: int) /*: int*/ { return x; }

// this is generic, the return type should be part of the instantiation
proc bar(x/*: xType*/) /*: xType*/ { return x; }