Skip to content

Conversation

@LPTK
Copy link
Contributor

@LPTK LPTK commented Sep 25, 2025

TODOs:

  • Store more lightweight SourceScope type instead of Ctx.
  • Fix flow analysis of types; remove typeCons?
  • Fix flow analysis of types in signatures; ensure that all type references are resolved and disambiguated, such as Int in val x: Int
  • The logic of selection expansion still needs to be generalized so that companion modules from other files can also be accessed.

LPTK and others added 13 commits September 25, 2025 22:55
Still need to generalize the logic so that companion modules from other files can also be accessed
# Conflicts:
#	hkmc2/shared/src/main/scala/hkmc2/semantics/Term.scala
#	hkmc2DiffTests/src/test/scala/hkmc2/LlirDiffMaker.scala
Co-authored-by: Lionel Parreaux <lionel.parreaux@gmail.com>
# Conflicts:
#	hkmc2/shared/src/main/scala/hkmc2/codegen/Lowering.scala
#	hkmc2/shared/src/main/scala/hkmc2/semantics/Elaborator.scala
#	hkmc2/shared/src/main/scala/hkmc2/semantics/Symbol.scala
#	hkmc2/shared/src/main/scala/hkmc2/semantics/Term.scala
#	hkmc2/shared/src/main/scala/hkmc2/semantics/ups/NaiveCompiler.scala
#	hkmc2/shared/src/test/mlscript/basics/MemberProjections.mls
#	hkmc2/shared/src/test/mlscript/basics/ModuleMethods.mls
#	hkmc2/shared/src/test/mlscript/parser/Handler.mls
# Conflicts:
#	hkmc2/shared/src/main/scala/hkmc2/utils/Scope.scala
# Conflicts:
#	hkmc2/shared/src/main/scala/hkmc2/semantics/Term.scala
#	hkmc2/shared/src/main/scala/hkmc2/syntax/Tree.scala
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.

3 participants