Skip to content

Instantly share code, notes, and snippets.

@bbarker
Created December 12, 2021 04:37
Show Gist options
  • Select an option

  • Save bbarker/2b174ff320a61f3df38194c11bcdd928 to your computer and use it in GitHub Desktop.

Select an option

Save bbarker/2b174ff320a61f3df38194c11bcdd928 to your computer and use it in GitHub Desktop.
the values were from a third-party library we don't control. We can emulate such behavior here
val in1any2: Inner[Any] = (Inner("foo"): Inner[String])
// ❌ Found: Playground.Inner[String]
// Required: Playground.Inner[Any]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment