moving to desktop (broken rn)

This commit is contained in:
2025-04-25 15:10:36 -04:00
parent 5adca32dd4
commit 3bf821d6b1
6 changed files with 41 additions and 8 deletions

17
ideas Normal file
View File

@@ -0,0 +1,17 @@
struct
Type
structinst
bits
but type is already typeinst?
for each var, create list of constraints on type
then just need to iterate through constraints to determine type
keep doing passes for vars that depend on the type of other vars
really need to make subvar for each field of struct var so 2 different "a.b" refer to same thing
makes borrow checking easier
do dependency cycles exist?
for global vars yes, in functions no
but if function returns are inferrable (even if just "impl Trait"), then needed in functions?
every kind has an origin, should make separate like names?