dlang.org icon indicating copy to clipboard operation
dlang.org copied to clipboard

typo https://dlang.org/spec/pragma.html

Open dlangBugzillaToGithub opened this issue 1 year ago • 1 comments

M Fisher reported this on 2024-03-31T12:11:01Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=24471

CC List

  • Dennis

Description

https://dlang.org/spec/pragma.html


pragma lib
There must be one AssignExpression and it must evaluate at compile time to a string literal.

pragma(lib, "foo.lib");
Implementation Defined: The string literal specifies the file name of a library file. This name is inserted into the generated object file, or otherwise passed to the linker, so the linker automatically links in that library.

pragma linkerDirective
There must be one AssignExpression and it must evaluate at compile time to a string literal.

dlangBugzillaToGithub avatar Mar 31 '24 12:03 dlangBugzillaToGithub