Stream: beginners

Topic: type annotations for vars


view this post on Zulip Fabian Schmalzried (Dec 13 2025 at 12:21):

How would a type annotation of var $foo = 42 look like? Both $foo : U8 and var $foo : U8 does not work currently.

view this post on Zulip Richard Feldman (Dec 13 2025 at 14:36):

sounds like a parser bug! Can you open a quick issue for it?

view this post on Zulip Fabian Schmalzried (Dec 13 2025 at 14:45):

#8660


Last updated: Dec 21 2025 at 12:15 UTC