mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-22 03:43:56 +00:00
Make record semicolon syntax more consistent
This commit is contained in:
@@ -253,7 +253,7 @@ explicit_parametric_polymorphic_procedures :: proc() {
|
||||
|
||||
// A more complicated example using subtyping
|
||||
// Something like this could be used in a game
|
||||
Vector2 :: struct {x, y: f32};
|
||||
Vector2 :: struct {x, y: f32;};
|
||||
|
||||
Entity :: struct {
|
||||
using position: Vector2;
|
||||
|
||||
Reference in New Issue
Block a user