Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdoc error on encapsulated DEFINE with local other-events and :progn t #1176

Open
kini opened this issue Sep 2, 2020 · 0 comments
Open

xdoc error on encapsulated DEFINE with local other-events and :progn t #1176

kini opened this issue Sep 2, 2020 · 0 comments

Comments

@kini
Copy link
Member

kini commented Sep 2, 2020

This was initially reported by @acoglio on the acl2-help mailing list as an issue with xdoc and an FTY deftagsum with only one summand. I reduced the repro case to the following:

(include-book "std/util/define" :dir :system)
(encapsulate ()
  (define foo (x) x
    :short "" :progn t
    /// (local (defthm bar (equal (foo (foo x)) x)))))
:doc foo

Output from the :doc command:

[...]
; xdoc error in FOO: get-event failed for BAR.
ACL2::FOO -- Current Interactive Session

    Signature

        (foo x) --> *


Definitions and Theorems

  Function: <foo>

    (defun foo (x)
           (declare (xargs :guard t))
           (let ((__function__ 'foo))
                (declare (ignorable __function__))
                x))

  Definition: <bar>

    "Error getting event for ACL2::BAR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant