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 undefined identifier 'trace' error. #322

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

DenisBelmondo
Copy link
Contributor

When compiling master (my personal setup was ldc2 and running release.sh), I ran into an error saying that 'trace' is an undefined identifier in source/served/commands/format.d. I assume the desired function is std.experimental.logger.trace(), so I've added the import.

@WebFreak001
Copy link
Member

what LDC version is that? this kind of error should be caught by CI (although right now other CI errors are blocking it, so I guess it might have just not been found because of those)

@DenisBelmondo
Copy link
Contributor Author

what LDC version is that? this kind of error should be caught by CI (although right now other CI errors are blocking it, so I guess it might have just not been found because of those)

Here's the verbatim output from ldc -v:

binary /usr/bin/ldc2
version 1.32.1 (DMD v2.102.2, LLVM 15.0.7)
config /etc/ldc2.conf (x86_64-pc-linux-gnu)
Error: No source file

My machine's LDC was acquired from Manjaro's community/ repository.

@WebFreak001 WebFreak001 merged commit 5b2711e into Pure-D:master Jun 8, 2023
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.

2 participants