Skip to content

Add builtin/codegen tests to suite#139

Draft
xrchz wants to merge 15 commits intomainfrom
moartests
Draft

Add builtin/codegen tests to suite#139
xrchz wants to merge 15 commits intomainfrom
moartests

Conversation

@xrchz
Copy link
Member

@xrchz xrchz commented Feb 21, 2026

and do what's needed to get them to pass (or manually exclude ones we want to defer)

@xrchz xrchz requested a review from charles-cooper March 2, 2026 22:54
val JE_Int_tm : term
val JE_Decimal_tm : term
val JE_Str_tm : term
val JE_GenericStr_tm : term
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, JE_GenericStr?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Str decoder expects field "type" (field "length" numtm) — it needs type.length to be a number. But the Str node for the method_id argument has:

  "type": {
    "generic": "string"
  }

This constructor is for strings that are like that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm ok. there are other "generic" type things in builtins, not sure if they will all need to be handled in an ad hoc way

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