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

add Collection interface #1329

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alex-s168
Copy link
Contributor

I broke a completely unrelated thing in the compiler wtih this:

./lm1 --c -o lm.c SRC/index-index.lm
Context::lookup alias-index : List<Tuple<String,String,Type>>+LMStruct+LMStruct+Collection<Tuple<String,String,Type>>+GlobalVariable+Sized
Candidates:
Context::lookup Could Not Find Symbol at In File SRC/alias.lsts Line 5 Column 4

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a new feature, I have added thorough tests.
  • I agree to release these changes under the terms of the permissive MIT license (1).
  1. https://github.com/andrew-johnson-4/lambda-mountain/blob/main/LICENSE

@andrew-johnson-4
Copy link
Owner

Things that need to happen before interfaces "just work"

  • turn Collection<x> into Collection<x>+y in function parameters
  • apparently this: erase Collection<x> during normalization (interfaces are denormal)

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

Successfully merging this pull request may close these issues.

2 participants