mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Bug fixes, addition of hash map implementation. (#605)
* Simple hash map. Fix of bug preventing cast of typeid. Allow declarations in global "$checks". Fix to non-constant default args. Correctly duplicate macro contracts. Allow typeid to add methods. Fix printing of subarrays. Fix bug when printing a function with a module. Fix bug with initializer and creating local variables. Add the compile-only option to the help.
This commit is contained in:
committed by
GitHub
parent
e1b5b0b60c
commit
258a6ba97a
7
test/test_suite/initialize/initializer_var.c3t
Normal file
7
test/test_suite/initialize/initializer_var.c3t
Normal file
@@ -0,0 +1,7 @@
|
||||
module test;
|
||||
|
||||
static initialize
|
||||
{
|
||||
int a;
|
||||
a = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user