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

class/type 'Random' is already defined in namespace 'global' #11

Closed
heuermh opened this issue Jan 3, 2019 · 4 comments
Closed

class/type 'Random' is already defined in namespace 'global' #11

heuermh opened this issue Jan 3, 2019 · 4 comments

Comments

@heuermh
Copy link
Owner

heuermh commented Jan 3, 2019

$ chuck import.ck
...
[Random.ck]:line(24): class/type 'Random' is already defined in namespace 'global'
[chuck](VM): sporking incoming shred: 126 (GaussianRandom.ck)...
[chuck](VM): sporking incoming shred: 127 (RandomFloor.ck)...
[chuck](VM): sporking incoming shred: 128 (RandomThreshold.ck)...
[chuck](VM): sporking incoming shred: 129 (SinusoidalIn.ck)...
[chuck](VM): sporking incoming shred: 130 (SinusoidalInOut.ck)...
[chuck](VM): sporking incoming shred: 131 (SinusoidalOut.ck)...
[chuck](VM): sporking incoming shred: 132 (Interpolate.ck)...
[chuck](VM): sporking incoming shred: 133 (Constrain.ck)...
[chuck](VM): sporking incoming shred: 134 (Interpolations.ck)...
[chuck](VM): sporking incoming shred: 135 (DurProvider.ck)...
[Humanize.ck]:line(65): class 'Random' has no member 'evaluate'
[Humanize.ck]:line(65): class 'Random' has no member 'evaluate'

Random is a chugin provided by https://github.com/ccrma/chugins/tree/master/Random

@renderful
Copy link

Same issue here. I removed the Random chugin to get over the lick errors which works for now, as I wasn't relying on the Random chugin.

@heuermh
Copy link
Owner Author

heuermh commented Feb 12, 2019

That was my workaround as well. I'd rather not rename the Random class in LiCK, perhaps I'll suggest a rename in chugins.

@heuermh
Copy link
Owner Author

heuermh commented Jul 21, 2021

Note: awaiting the merge of several open pull requests on https://github.com/ccrma/chugins, it is recommended to use the branch https://github.com/heuermh/chugins/tree/latest.

@heuermh
Copy link
Owner Author

heuermh commented May 19, 2023

I'm backing down on this one 😉

Refactored LiCK RandomChance in commit 7392215

@heuermh heuermh closed this as completed May 19, 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

No branches or pull requests

2 participants