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

Fix/async compile warnings #168

Closed

Conversation

Forge36
Copy link

@Forge36 Forge36 commented Jun 16, 2024

Fixes #165

@Forge36 Forge36 force-pushed the fix/async-compile-warnings branch from 95c2fbb to a73b1db Compare June 16, 2024 01:12
@Forge36
Copy link
Author

Forge36 commented Jun 16, 2024

Branch has errors now flagged with WIP commit

error:

byte-code: Recursive ‘require’ for feature ‘citeproc-lib’

@Forge36
Copy link
Author

Forge36 commented Jun 16, 2024

Removed fixes which caused fatal errors and fixed typo in the require

This leaves the following warnings:

 ■  Warning (comp): citeproc-lib.el:159:33: Warning: the function ‘citeproc-rt-render-affixes’ is not known to be defined.
 ■  Warning (comp): citeproc-lib.el:154:55: Warning: the function ‘citeproc-context-vars’ is not known to be defined.
 ■  Warning (comp): citeproc-rt.el:538:25: Warning: the function ‘citeproc-itemdata-rawbibitem’ is not known to be defined.

@Forge36 Forge36 force-pushed the fix/async-compile-warnings branch 3 times, most recently from cc5eeb3 to fa3c709 Compare June 16, 2024 02:12
Forge36 added 3 commits June 15, 2024 21:15
This includes parameter definitions to ensure functions are called
with correct number of parameters and byte-compile can produce
warnings for bad callers.
I'm unable unfamiliar with the constructor syntax. These won't
currently validate the number of passed parameters is accurate.
@Forge36 Forge36 force-pushed the fix/async-compile-warnings branch from fa3c709 to e9df24c Compare June 16, 2024 02:16
@Forge36
Copy link
Author

Forge36 commented Jun 16, 2024

This declares functions with parameters when I can determine them. Given my unfamiliarity with constructors I've declared the function without parameter validation.

@andras-simonyi
Copy link
Owner

Thanks a lot for the problem description and the MR! I've managed to reproduce the problems and merged a PR partly based on your suggested changes (#169). Could you check whether it has fixed the problems you were encountering?

@Forge36
Copy link
Author

Forge36 commented Jun 21, 2024

Issue fixed upstream! :)

@Forge36 Forge36 closed this Jun 21, 2024
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.

Byte compile produces warnings for unknown functions
2 participants