Draft
Conversation
Co-authored-by: namasikanam <22532925+namasikanam@users.noreply.github.com>
…ing cases Co-authored-by: namasikanam <22532925+namasikanam@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix all FIXME comments in the codebase
Fix all FIXME comments in src/
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses a collection of FIXME markers across the codebase — removing dead parameters, replacing
assert false/failwithcrashes with proper errors, and implementing missing cases.Remove unused parameters
ecCoreGoal.ml/mli: Drop?who:stringfromtc_error,tc_error_exn,tc_error_lazy,tc_lookup_error— was accepted and immediatelyignored. All 14 call sites updated.ecUnify.ml/mli: Drop?hidden:boolfromselect_op— same issue. Updated the one call site inecPrinting.ml.Replace crashes with proper errors
ecIo.mlparseallassert false→ParseErrorforP_Undo/P_ExitecScope.mladd_instancefailwith "unsupported"→hierrorwith instance nameecPhlInline.mlinline_iassert false→tc_error "code pattern doesn't match instruction type"ecPhlInline.mlpat_of_occsassert (Sint.is_empty !occs)→tc_errorreporting the invalid occurrence numbers (also threadstcintopat_of_occs)ecPhlSkip.mlt_bdhoare_skip_r_low"skip requires comparison to be = or >=, got <="ecEnv.mlactmem_bodyassert falseforFBabs/FBalias→invalid_argecTyping.mli_inuseassert falseforSabstract→invalid_argecPV.mladd_globassert false→invalid_argwith messagesecPV.mli_eqobs_in_refl,eqobs_inF_reflassert false→invalid_argecProofTerm.mlapply_pterm_to_localassert falseforLD_abs_st→invalid_argImplement missing cases
ecPhlFel.mlcallable_oracles_i: HandleSabstractby foldingcallable_oracles_foveraus_callsfrom the abstract statement's use set.ecEnv.mlld_subst: ImplementLD_abs_stsubstitution — applyty_subst/pv_subst/x_substtoaus_reads,aus_writes, andaus_calls.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.