crystal-lang / crystal-website

crystal-lang.org website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong example in blog post for 1.2.0 release

beta-ziliani opened this issue · comments

ref: https://forum.crystal-lang.org/t/assign-a-subclass-of-a-generic-class-to-an-element-of-the-parent-class/4941

The relevant PR explicitly states that the code example shown does not work yet.