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
defprotocol Animal do | |
@fallback_to_any true | |
def warn(arg, arg2) | |
def greet(arg) | |
def speak(arg) | |
# Here I'm getting | |
# == Compilation error in file lib/animal.ex == | |
# ** (CompileError) lib/animal.ex:6: undefined function defdelegate/2 (there is no such import) | |
# Then go to line 48 | |
# |