Comment

Comment by ryanprichard

I tried it on this bit of code, but it didn't detect a type mismatch. Is it supposed to?

  def foo(n: int):
      pass
  def bar():
      foo("123")
It does detect this mismatch:

  def foo(n: int):
      pass
  foo("123")
parent ryanprichard 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton