dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)
Boost Software License 1.0
115 stars 48 forks source link

The code for structs does not compile #763

Open aminya opened 3 years ago

aminya commented 3 years ago

Running the code for structs results in this error:

core.exception.AssertError@onlineapp.d(28): Assertion failure
----------------
??:? _d_assertp [0x557260a3ae55]
onlineapp.d:28 _Dmain [0x557260a3a666]

https://tour.dlang.org/tour/en/basics/structs

aminya commented 3 years ago

Sorry, I did not notice that this is a problem that should be solved.

Maybe putting a comment at the top of the page that reminds the users that this code does not compile would be good.