Skip to content

Bugfix: Converting a loaded program into a String#758

Merged
mmarx merged 2 commits intoknowsys:mainfrom
Leo-Aus-Berlin:bugfix/program-to-string
Feb 16, 2026
Merged

Bugfix: Converting a loaded program into a String#758
mmarx merged 2 commits intoknowsys:mainfrom
Leo-Aus-Berlin:bugfix/program-to-string

Conversation

@Leo-Aus-Berlin
Copy link
Contributor

@Leo-Aus-Berlin Leo-Aus-Berlin commented Jan 13, 2026

The fact and import statements (the rule components) had erronous to_string methods: Missing . for facts and = vs : for import statements. This is a very minor fix.

@github-project-automation github-project-automation bot moved this to Todo in nemo Jan 13, 2026
@mmarx mmarx self-assigned this Jan 13, 2026
@Leo-Aus-Berlin Leo-Aus-Berlin changed the title Coverting a loaded program into a string and thus writing it to a file was erronous Bugfix: Converting a loaded program into a String Jan 13, 2026
@Leo-Aus-Berlin Leo-Aus-Berlin changed the title Bugfix: Converting a loaded program into a String Bugfix: Converting a loaded program into a String Jan 13, 2026
@mmarx
Copy link
Member

mmarx commented Jan 13, 2026

The doc error seems to be rust-lang/rust#151028, which will hopefully be fixed soon in one of the next nightlies.

I'll take a look at the new clippy lint.

@mmarx
Copy link
Member

mmarx commented Feb 16, 2026

Both errors are fixed on main now, rebasing should fix the build.

@mmarx mmarx self-requested a review February 16, 2026 11:40
@github-project-automation github-project-automation bot moved this from Todo to In Progress in nemo Feb 16, 2026
@mmarx mmarx merged commit 6871007 into knowsys:main Feb 16, 2026
8 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in nemo Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants