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

Won't wrap Rust comments #401

Open
sentilesdal opened this issue May 16, 2024 · 0 comments
Open

Won't wrap Rust comments #401

sentilesdal opened this issue May 16, 2024 · 0 comments

Comments

@sentilesdal
Copy link

OSX Ventura, M1 chip, Rewrap v17.8.0 (pre-release)

This comment in Rust

    /// Calculates the present value LPs capital in the pool and returns
    /// a flag indicating whether the calculation succeeded or failed.
    /// For the most part, this calculation underestimates the present
    /// value to avoid paying out more than the pool can afford; however,
    /// it adheres faithfully to the rounding utilized when positions are
    /// closed to accurately simulate the impact of closing the net curve
    /// position.

was not able to be re-wrapped to 80 chars. I got this error in the console:

console.ts:137 [Extension Host] ====== Rewrap: Error ======
@ console.ts:137
console.ts:137 [Extension Host] TypeError: e.System.Collections.IEnumerator.MoveNext is not a function
	at $b0ad0042444761d9$export$2344b14b097df817 (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:6975:69)
	at $9bfe09d0c22a9837$export$47bd1dafac8b8c58 (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:9073:12)
	at /Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:12666:148
	at $b0ad0042444761d9$export$d65cb303b863e3bf (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:7083:17)
	at $1411aa09fbe321df$export$78262f0a7b75cf50 (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:12666:92)
	at $1411aa09fbe321df$export$2e6c959c16ff56b8 (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:12673:49)
	at $9d0d59b10020735c$export$6cb9d9886761bf2b (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:13127:23)
	at $289a06abe5f10607$export$6cb9d9886761bf2b (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:13230:129)
	at $09ff662961d6d81c$var$doWrap (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:15444:22)
	at /Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:15419:32
	at Object.edit (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:155:23841)
	at $09ff662961d6d81c$var$rewrapCommentAtCommand (/Users/matthewbrown/.vscode/extensions/stkb.rewrap-17.8.0/dist/Extension.js:15419:12)
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

No branches or pull requests

1 participant