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

store and expose public constants in the unit (fixes #316) #317

Merged
merged 5 commits into from
Nov 17, 2021

Conversation

tgolsson
Copy link
Contributor

@pkolaczk Please give this branch a try! There's a new Hash::constant that can be used to make it clearer, as well.

@tgolsson tgolsson requested a review from udoprog November 15, 2021 11:31
@tgolsson tgolsson requested a review from udoprog November 15, 2021 22:02
let mut sources = rune::sources! {
entry => {
mod inner {
pub const LEET = 1337;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental tab (and a few more places)?

@udoprog udoprog added the bug Something isn't working label Nov 16, 2021
@udoprog udoprog merged commit c2f9ae6 into main Nov 17, 2021
@udoprog udoprog deleted the ts/pub-unit-constant branch November 17, 2021 09:44
@pkolaczk
Copy link
Contributor

You've just closed it when I was testing! No worries, works like a charm!
Thank you! 🎉

@udoprog
Copy link
Collaborator

udoprog commented Nov 17, 2021

Thanks for fixing this @tgolsson

@pkolaczk thanks for taking it for a spin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants