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

chatgpt code ? #1

Open
hxm-cpp opened this issue Apr 2, 2024 · 4 comments
Open

chatgpt code ? #1

hxm-cpp opened this issue Apr 2, 2024 · 4 comments

Comments

@hxm-cpp
Copy link

hxm-cpp commented Apr 2, 2024

Error: type mismatch
Expression: inc(res)
[1] res: OpCode

Expected one of (first mismatch at [position]):
[1] proc inc[A](t: CountTableRef[A]; key: A; val = 1)
[1] proc inc[A](t: var CountTable[A]; key: A; val = 1)
[1] proc inc[T, V: Ordinal](x: var T; y: V = 1)

@ba0f3
Copy link
Owner

ba0f3 commented Apr 2, 2024

What do you mean chatgpt code?

@hxm-cpp
Copy link
Author

hxm-cpp commented Apr 3, 2024

wyhen compiling runner.nim i got that error, is there any way to direct contact you ?

@ba0f3
Copy link
Owner

ba0f3 commented Apr 3, 2024

Code I wrote 4 years ago. May not compatible with recently Nim version

@hxm-cpp
Copy link
Author

hxm-cpp commented Apr 3, 2024

update it

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

2 participants