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

replace shallowCopy with move, otherwise it fails nimgen #246

Merged
merged 1 commit into from Aug 30, 2022

Conversation

ringabout
Copy link
Member

@ringabout ringabout commented Jul 28, 2022

ref nim-lang/Nim#19972

2022-07-28T11:12:09.4182108Z Downloading https://github.com/nim-lang/c2nim using git
2022-07-28T11:12:09.4182506Z   Verifying dependencies for c2nim@#head
2022-07-28T11:12:09.4182810Z  Installing c2nim@#head
2022-07-28T11:12:09.4183134Z    Building c2nim/c2nim using c backend
2022-07-28T11:12:09.4183913Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/c2nim.nim(12, 16) �[0m�[33mWarning: �[0mNumber of spaces around '/' is not consistent�[36m [Spacing]�[0m�[0m
2022-07-28T11:12:09.4184858Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/compiler/llstream.nim(13, 3) �[0m�[33mWarning: �[0mimported and not used: 'strutils'�[36m [UnusedImport]�[0m�[0m
2022-07-28T11:12:09.4186479Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/compiler/options.nim(11, 26) �[0m�[33mWarning: �[0mimported and not used: 'osproc'�[36m [UnusedImport]�[0m�[0m
2022-07-28T11:12:09.4187298Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/compiler/idents.nim(15, 11) �[0m�[33mWarning: �[0mimported and not used: 'strutils'�[36m [UnusedImport]�[0m�[0m
2022-07-28T11:12:09.4188112Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/compiler/ast.nim(13, 41) �[0m�[33mWarning: �[0mimported and not used: 'strutils'�[36m [UnusedImport]�[0m�[0m
2022-07-28T11:12:09.4188892Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/compiler/ast.nim(13, 55) �[0m�[33mWarning: �[0mimported and not used: 'sha1'�[36m [UnusedImport]�[0m�[0m
2022-07-28T11:12:09.4189688Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/compiler/ast.nim(13, 22) �[0m�[33mWarning: �[0mimported and not used: 'nversion'�[36m [UnusedImport]�[0m�[0m
2022-07-28T11:12:09.4190486Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/compiler/ast.nim(13, 32) �[0m�[33mWarning: �[0mimported and not used: 'options'�[36m [UnusedImport]�[0m�[0m
2022-07-28T11:12:09.4191223Z �[1m/tmp/nimble_20270/githubcom_nimlangc2nim_#head/compiler/msgs.nim(190, 3) �[0m�[31mError: �[0mundeclared identifier: 'shallowCopy'
2022-07-28T11:12:09.4191761Z candidates (edit distance, scope distance); see '--spellSuggest': 
2022-07-28T11:12:09.4192264Z  (4, 4): 'shallow' [proc declared in /home/runner/work/Nim/Nim/lib/system.nim(2799, 6)]
2022-07-28T11:12:09.4192788Z  (4, 4): 'shallow' [proc declared in /home/runner/work/Nim/Nim/lib/system.nim(2809, 6)]�[36m�[0m�[0m
2022-07-28T11:12:09.4193277Z        Tip: 9 messages have been suppressed, use --verbose to show them.
2022-07-28T11:12:09.4193601Z      Error: Build failed for package: c2nim
2022-07-28T11:12:09.4193897Z         ... Execution failed with exit code 1
2022-07-28T11:12:09.4194754Z         ... Command: /home/runner/work/Nim/Nim/bin/nim c --colors:on --noNimblePath -d:release -d:NimblePkgVersion=0.9.18 --hints:off -o:'/tmp/nimble_20270/githubcom_nimlangc2nim_#head/c2nim' '/tmp/nimble_20270/githubcom_nimlangc2nim_#head/c2nim.nim'

@ringabout ringabout requested a review from Araq August 30, 2022 04:00
@Araq Araq merged commit 140853c into master Aug 30, 2022
@Araq Araq deleted the pr_shallowcopy branch August 30, 2022 09:54
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.

None yet

2 participants