Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comptime fatal error #1960

Open
disarray2077 opened this issue Apr 27, 2024 · 1 comment
Open

Comptime fatal error #1960

disarray2077 opened this issue Apr 27, 2024 · 1 comment

Comments

@disarray2077
Copy link
Contributor

Introducing a new variable in Span<T> causes a fatal error during comptime evaluation:

---------------------------
FATAL ERROR
---------------------------
FATAL ERROR
Fatal Error in Module: __constEval
Function: ?Init@COMPTIME$?$SplitList@U_T0@@@Collections@System@bf@@CAXXZ
DbgLoc: @3 SplitList.bf:38:12
Malformed structure values in D:\BeefLang\Repository\Beef\IDEHelper\Backend\BeIRCodeGen.cpp:317

image

Tested with: ab31e5b

@bfiete
Copy link
Collaborator

bfiete commented Apr 27, 2024

Ah, yeah. It will definitely still be illegal, but I'll try to make the errors softer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants