First 0.7 update, removing all deprecated features.

This commit is contained in:
Christoffer Lerno
2025-02-27 14:16:36 +01:00
committed by Christoffer Lerno
parent cff6697818
commit 2a895ec7be
1589 changed files with 2635 additions and 115363 deletions

View File

@@ -1,17 +1,17 @@
module test;
def Bob = Test(<any>);
def Bob = Test{any};
fn void Bob.crash(&self) {}
fn int main()
{
Test(<any>) foo;
Test{any} foo;
return 0;
}
<*
@require $defined(String.hash)
*>
module test::generic(<Some_Type>);
module test::generic{Some_Type};
enum Test
{

View File

@@ -1,7 +1,7 @@
module compiler_c3;
import std::collections::list;
def IntArray = List(<int>);
def IntArray = List{int};
extern fn void printf(char*, ...);

View File

@@ -2,7 +2,7 @@
module test;
import std::io, std::time, std::math, std::collections;
List(<long>) stones;
List{long} stones;
struct Foo
{