boolangery / d-autointf

Auto interface implementation generator for D.
MIT License
5 stars 1 forks source link

Moved vibe.d dependecy vibe.internal.meta.uda #2

Open Tynukua opened 2 months ago

Tynukua commented 2 months ago

Error: unable to read module uda Expected 'vibe/internal/meta/uda.d' or 'vibe/internal/meta/uda/package.d' in one of the following import paths:

/// Avoid repeating the same error message again and again.
/// ----
/// if (!__ctfe)
/// assert(0, onlyAsUda!func);
/// ----
template onlyAsUda(string from /*= __FUNCTION__*/)
{
    // With default param, DMD think expression is void, even when writing 'enum string onlyAsUda = ...'
    enum onlyAsUda = from~" must only be used as an attribute - not called as a runtime function.";
}
boolangery commented 2 months ago

Hello, @Tynukua please create a pull request I will merge it. I'm not actively working on this project