mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Fix requirement to use prefix when using $defined
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
- Compiler crash when concatenating structs and arrays to an untyped list.
|
||||
- Strings assigned to longer arrays would crash codegen, e.g. `char[10] x = "abcd`.
|
||||
- Typedefs and structs with inline types supporting lengthof would not work with lengthof #2641.
|
||||
- `$defined(foo())` now correctly errors if `foo()` would require a path.
|
||||
- `@if($defined((char*){}.foo()))` does not error if `foo` is missing.
|
||||
|
||||
### Stdlib changes
|
||||
- Add `ThreadPool` join function to wait for all threads to finish in the pool without destroying the threads.
|
||||
|
||||
Reference in New Issue
Block a user