This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
#include <stdio.h> #define ONE 1 #define TWO 2 #define min(x, y) ((x) < (y)) ? (x) : (y) int main() { printf("%d", min(ONE, TWO)); // Ctrl+Alt+Hover on min doesn't show expansion return 0; }
Fixed in http://hg.netbeans.org/cnd-main/rev/921a9c22ba2f
Integrated into 'main-silver', will be available in build *201507290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/921a9c22ba2f User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #253905 - Macro expansion span is broken