Skip to content

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

@Tynukua

Description

@Tynukua

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.";
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions