Skip to content

Commit

Permalink
Add user-provided args after dune args
Browse files Browse the repository at this point in the history
  • Loading branch information
whonore committed Jun 29, 2024
1 parent e6c73e5 commit 17c8f78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/coqtop.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ def start(

args = coqproject_args
if use_dune and self.is_in_valid_dune_project(filename):
args += self.get_dune_args(filename, dune_compile_deps)
# Add user-provided args last so they take precedence.
args = self.get_dune_args(filename, dune_compile_deps) + args

launch = self.xml.launch(filename, args)
self.logger.debug(launch)
Expand Down

0 comments on commit 17c8f78

Please sign in to comment.