aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-07-09 22:23:38 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commita7e762ad762244592d05466b5b14bdec4ff1b13a (patch)
tree1390ff68b39b3c776a31d71a0756285142e1965c /org
parent0.26.1 single sqlite file, premature? (diff)
dmd compiles & run fixes (not required by ldc2)
- dmd compiles without optimize flag - dmd some variables need re-loading - D version for both is: 2078 (at commit)
Diffstat (limited to 'org')
-rw-r--r--org/default_paths.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/org/default_paths.org b/org/default_paths.org
index 308475a..4da6a85 100644
--- a/org/default_paths.org
+++ b/org/default_paths.org
@@ -125,6 +125,7 @@ template PathMatters() {
auto _manifest = PodManifest!()(_pth);
struct ManifestMatters_ {
auto env() {
+ auto _env = _env;
struct Env_ {
auto pwd() {
return _env["pwd"];
@@ -136,6 +137,7 @@ template PathMatters() {
return Env_();
}
auto opt() {
+ auto _opt_actions = _opt_actions;
struct Opt_ {
auto action() { // redundant
return _opt_actions;
@@ -204,6 +206,9 @@ template PathMatters() {
return Pod_();
}
auto src() {
+ string _fns = _fns; // required here by dmd & not by ldc (for D:2078)
+ auto _opt_actions = _opt_actions;
+ auto _env = _env;
string _sep = "␣";
struct SRC_ {
auto is_pod() {
@@ -383,6 +388,8 @@ template PathMatters() {
return SRC_();
}
auto output() {
+ auto _opt_actions = _opt_actions;
+ auto _env = _env;
struct Out_ {
auto path() {
auto _output_path = _env["pwd"];