microsoft / microsoft/typespec
functions reporting errors of usage on teh function declaration
Open
bug
compiler:core
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
```tsp
#suppress "experimental-feature" "s"
extern fn testFn(args: valueof unknown): Reflection.Operation;
alias T = testFn(original, #["b", "a"]);
```
[Playground](https://typespec.io/playground/?e=%40typespec%2Fopenapi3&c=I3N1cHByZXNzICJleHBlcmltZW50YWwtZmVhdHVyZSIgInMiCmV4dGVybiBmbiB0ZXN0Rm4oYXJnczogdmFsdWVvZiB1bmtub3duKTogUmVmbGVjdGlvbi5PcGVyYcQKOwoKYWxpYXMgVCA9yEBvcmlnaW5hbCwgI1siYiIsICJhIl0pOw%3D%3D&options=%7B%7D&vs=%7B%7D)
Contributor guide
Assessment
This issue has not been assessed yet.