-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add reflect
defn.{FunctionClass,ContextFunctionClass}
The old `FunctionClass` will need to be deprecated as we will remove `ErasedFunctionN` and `ErasedContextFunctionN`. We will replace this API with a simpler version that can return `FunctionN` or `ContextFunctionN`, the only two stable function classes we have in the compiler/TASTy. Other new function classes will be encoded with the more general refined function type encoding, generalization of the `PolyFunction` encoding. This implies that we won't need to add other kind of function classes to the reflect API. Part of the fix for #16847
- Loading branch information
1 parent
a356581
commit 262a4b9
Showing
5 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters