Skip to content

Instantly share code, notes, and snippets.

@nagat01
Last active September 4, 2024 01:27
Show Gist options
  • Save nagat01/012ad561ee5af71148881b83a168e749 to your computer and use it in GitHub Desktop.
Save nagat01/012ad561ee5af71148881b83a168e749 to your computer and use it in GitHub Desktop.
inline def f(x: Any) =
inline x match
case Int => "Int"
@main def main = println:
f("a")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment