Created
July 28, 2018 12:35
-
-
Save Groogy/1260114279fcc75131b09663c71cbbd2 to your computer and use it in GitHub Desktop.
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
def fetch_method(klass : U) forall U | |
comp = fetch_method? klass # Return type is BaseClass | Nil | |
# I want to return with the type provided to find | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment