Closed lefouvert closed 5 months ago
The error message is slightly misleading:
If you make it a pub const
instead of a const
it should work, i.e.
use { RgbaColor, color } from ksp::console
pub const ULTRAMARINE: RgbaColor = color(0.0, 0.0, 0.5, 1.0)
The error is that you should not have been allowed to import a non-pub constant in the first place. I will fix that with a proper error message
T_T
What a shame. Obviously. Thank you ^^.
In 0.5.5.5 it should no longer be possible to import non-pub constants.
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
version 0.5.4.1 (Ckan) assumed tag : Bug
Hi !
I have a weird bug I usually have when I accidently trick the compiler to compile Asynch code into sync function. However, I think it's not the case here.
Here the code : _gitreport::color0.to2
_gitreport::color1.to2
Everything compile as expected, however, when I execute the code, I get this in the console, and obviously, nothing happen :
(And I just note than quote mark at the start and the end of error message fields are not the same)
BUT ! when I run this code :
Everything goes fine. Weird, isn't it ?
Edit: typo, typo, and typo again...