You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.
Joels-MacBook-Pro:Money joelcnz$ dub
Performing "debug" build using dmd for x86_64.
money 1.0.0: target for configuration "library" is up to date.
jmoney ~master: building configuration "application"...
source/app.d(6,14): Error: template instance currency!"EUR" template 'currency' is not defined
dmd failed with exit code 1.
Joels-MacBook-Pro:Money joelcnz$
{
"name": "jmoney",
"description": "A minimal D application.",
"dependencies":
{
"money": "~>1.0.0"
}
}
I not sure I understand dub.
I get this with the code below:
Joels-MacBook-Pro:Money joelcnz$ dub
Performing "debug" build using dmd for x86_64.
money 1.0.0: target for configuration "library" is up to date.
jmoney ~master: building configuration "application"...
source/app.d(6,14): Error: template instance currency!"EUR" template 'currency' is not defined
dmd failed with exit code 1.
Joels-MacBook-Pro:Money joelcnz$
{
"name": "jmoney",
"description": "A minimal D application.",
"dependencies":
{
"money": "~>1.0.0"
}
}
[code]
import std.stdio;
import money;
void main() {
alias EUR = currency!("EUR");
}
[/code]
The text was updated successfully, but these errors were encountered: