module pind.samples.ja.parameter_flexibility.parameter_flexibility_3; import std.stdio; void func(int parameter, string functionName = __FUNCTION__, string file = __FILE__, int line = __LINE__) { writefln("Called from function %s at file %s, line %s.", functionName, file, line); } void main() { func(42); // ← 行は14 }