Identifier fields
This commit is contained in:
+6
-2
@@ -1,5 +1,9 @@
|
||||
function test(): int { }
|
||||
struct MyType {
|
||||
x: int,
|
||||
}
|
||||
|
||||
function test(): MyType { }
|
||||
|
||||
function add() {
|
||||
let output = test();
|
||||
let output = test().x;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user