Declarations are now written |type| identifier;, generally. Functions are similar |void| func() {}, etc. Special declarations still work, etc
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import io;
|
||||
|
||||
typedef template <T> trivialContainer {
|
||||
T data;
|
||||
void print() {
|
||||
|T| data;
|
||||
|void| print() {
|
||||
print(data);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user