This website requires JavaScript.
Explore
Help
Register
Sign In
shishantbiswas
/
c3c
Watch
1
Star
1
Fork
0
You've already forked c3c
mirror of
https://github.com/c3lang/c3c.git
synced
2026-02-27 12:01:16 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
9d2f4e72c2868559d8a7448d33824eaea468746d
c3c
/
test
/
test_suite
/
enumerations
History
Christoffer Lerno
9d2f4e72c2
Add
inline
to enums
#1819
.
2025-02-03 22:51:50 +01:00
..
compile_time.c3t
Remove implicit cast from enum to int. Allow enums to use distinct types as the backing type. enum += 1 returns enum type.
2023-03-04 01:03:57 +01:00
enum_add_sub.c3t
Incorrectly handles distinct enums and pointers with '+=' and '-='
#1717
.
2024-12-25 23:09:10 +01:00
enum_associated_value.c3t
Miscompile when indexing an array with small unsigned types.
2024-12-28 17:39:25 +01:00
enum_associated_values_other.c3t
0.6.0: init_new/init_temp removed. LinkedList API rewritten. List "pop" and "remove" function now return Optionals. RingBuffer API rewritten. Allocator interface changed. Deprecated Allocator, DString and mem functions removed. "identity" functions are now constants for Matrix and Complex numbers.
@default
implementations for interfaces removed.
any*
=>
any
, same for interfaces. Emit local/private globals as "private" in LLVM, following C "static". Updated enum syntax. Add support [rgba] properties in vectors. Improved checks of aliased "void". Subarray -> slice. Fix of llvm codegen enum check. Improved alignment handling. Add --output-dir
#1155
. Removed List/Object append.
GenericList
renamed
AnyList
. Remove unused "unwrap". Fixes to cond. Optimize output in dead branches. Better checking of operator methods. Disallow
any
from implementing dynamic methods. Check for operator mismatch. Remove unnecessary bitfield. Remove numbering in --list* commands Old style enum declaration for params/type, but now the type is optional. Add note on
#1086
. Allow making distinct types out of "void", "typeid", "anyfault" and faults. Remove system linker build options. "Try" expressions must be simple expressions. Add optimized build to Mac tests. Register int.
assert(false)
only allowed in unused branches or in tests. Compile time failed asserts is a compile time error. Remove current_block_is_target. Bug when assigning an optional from an optional. Remove unused emit_zstring. Simplify phi code. Remove unnecessary unreachable blocks and remove unnecessary current_block NULL assignments. Proper handling of '.' and Win32 '//server' paths. Add "no discard" to expression blocks with a return value. Detect "unsigned >= 0" as errors. Fix issue with distinct void as a member
#1147
. Improve callstack debug information
#1184
. Fix issue with absolute output-dir paths. Lambdas were not type checked thoroughly
#1185
. Fix compilation warning
#1187
. Request jump table using @jump for switches. Path normalization - fix possible null terminator out of bounds. Improved error messages on inlined macros.
2024-06-12 10:14:26 +02:00
enum_cast_error.c3
- Add
enum.from_ordinal
and
fault.from_ordinal
2024-12-23 15:27:59 +01:00
enum_cast.c3t
Deprecate cast conversion from enum -> integer.
2024-12-25 20:34:28 +01:00
enum_conversions.c3t
- Add
enum.from_ordinal
and
fault.from_ordinal
2024-12-23 15:27:59 +01:00
enum_invalid_param.c3
- Fix problem where a $$FUNC would return "<GLOBAL>" when evaluated for a static in a function
#1236
.
2024-07-13 19:57:04 +02:00
enum_reflect_associated.c3t
Fixes to header gen.
2024-06-28 11:28:05 +02:00
enum_same_param.c3
0.6.0: init_new/init_temp removed. LinkedList API rewritten. List "pop" and "remove" function now return Optionals. RingBuffer API rewritten. Allocator interface changed. Deprecated Allocator, DString and mem functions removed. "identity" functions are now constants for Matrix and Complex numbers.
@default
implementations for interfaces removed.
any*
=>
any
, same for interfaces. Emit local/private globals as "private" in LLVM, following C "static". Updated enum syntax. Add support [rgba] properties in vectors. Improved checks of aliased "void". Subarray -> slice. Fix of llvm codegen enum check. Improved alignment handling. Add --output-dir
#1155
. Removed List/Object append.
GenericList
renamed
AnyList
. Remove unused "unwrap". Fixes to cond. Optimize output in dead branches. Better checking of operator methods. Disallow
any
from implementing dynamic methods. Check for operator mismatch. Remove unnecessary bitfield. Remove numbering in --list* commands Old style enum declaration for params/type, but now the type is optional. Add note on
#1086
. Allow making distinct types out of "void", "typeid", "anyfault" and faults. Remove system linker build options. "Try" expressions must be simple expressions. Add optimized build to Mac tests. Register int.
assert(false)
only allowed in unused branches or in tests. Compile time failed asserts is a compile time error. Remove current_block_is_target. Bug when assigning an optional from an optional. Remove unused emit_zstring. Simplify phi code. Remove unnecessary unreachable blocks and remove unnecessary current_block NULL assignments. Proper handling of '.' and Win32 '//server' paths. Add "no discard" to expression blocks with a return value. Detect "unsigned >= 0" as errors. Fix issue with distinct void as a member
#1147
. Improve callstack debug information
#1184
. Fix issue with absolute output-dir paths. Lambdas were not type checked thoroughly
#1185
. Fix compilation warning
#1187
. Request jump table using @jump for switches. Path normalization - fix possible null terminator out of bounds. Improved error messages on inlined macros.
2024-06-12 10:14:26 +02:00
enum_signed_cast_swap.c3t
- Add
enum.from_ordinal
and
fault.from_ordinal
2024-12-23 15:27:59 +01:00
enum_values.c3t
Refactor and unify linker visibility and fix issues with weak stdlib.
2024-10-11 21:45:44 +02:00
enum_with_associated_value_decl.c3
Enum associated declarations accidentally allowed declaration in function style.
#1841
2025-01-14 23:06:17 +01:00
enum_with_const.c3t
LLVM codegen for constants in enums could fail.
2024-08-06 00:28:03 +02:00
inc_assign_fail.c3
Incorrectly handles distinct enums and pointers with '+=' and '-='
#1717
.
2024-12-25 23:09:10 +01:00
inc_assign.c3t
Incorrectly handles distinct enums and pointers with '+=' and '-='
#1717
.
2024-12-25 23:09:10 +01:00
inline_enums.c3t
Add
inline
to enums
#1819
.
2025-02-03 22:51:50 +01:00
introspection_data_error.c3t
Deprecate `fn void! main() type main functions.
2025-01-08 23:17:50 +01:00
missing_type.c3
0.6.0: init_new/init_temp removed. LinkedList API rewritten. List "pop" and "remove" function now return Optionals. RingBuffer API rewritten. Allocator interface changed. Deprecated Allocator, DString and mem functions removed. "identity" functions are now constants for Matrix and Complex numbers.
@default
implementations for interfaces removed.
any*
=>
any
, same for interfaces. Emit local/private globals as "private" in LLVM, following C "static". Updated enum syntax. Add support [rgba] properties in vectors. Improved checks of aliased "void". Subarray -> slice. Fix of llvm codegen enum check. Improved alignment handling. Add --output-dir
#1155
. Removed List/Object append.
GenericList
renamed
AnyList
. Remove unused "unwrap". Fixes to cond. Optimize output in dead branches. Better checking of operator methods. Disallow
any
from implementing dynamic methods. Check for operator mismatch. Remove unnecessary bitfield. Remove numbering in --list* commands Old style enum declaration for params/type, but now the type is optional. Add note on
#1086
. Allow making distinct types out of "void", "typeid", "anyfault" and faults. Remove system linker build options. "Try" expressions must be simple expressions. Add optimized build to Mac tests. Register int.
assert(false)
only allowed in unused branches or in tests. Compile time failed asserts is a compile time error. Remove current_block_is_target. Bug when assigning an optional from an optional. Remove unused emit_zstring. Simplify phi code. Remove unnecessary unreachable blocks and remove unnecessary current_block NULL assignments. Proper handling of '.' and Win32 '//server' paths. Add "no discard" to expression blocks with a return value. Detect "unsigned >= 0" as errors. Fix issue with distinct void as a member
#1147
. Improve callstack debug information
#1184
. Fix issue with absolute output-dir paths. Lambdas were not type checked thoroughly
#1185
. Fix compilation warning
#1187
. Request jump table using @jump for switches. Path normalization - fix possible null terminator out of bounds. Improved error messages on inlined macros.
2024-06-12 10:14:26 +02:00
simple_inference.c3t
Allow @test with modules. Change name mangling for non exports.
2023-02-20 16:02:30 +01:00