[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kdevelop] [Bug 315397] New: Usage of "emit" on non-signal should be flagged as syntax error.
From: Rolf Eike Beer <kde () opensource ! sf-tec ! de>
Date: 2013-02-18 17:05:47
Message-ID: bug-315397-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=315397
Bug ID: 315397
Summary: Usage of "emit" on non-signal should be flagged as
syntax error.
Classification: Unclassified
Product: kdevelop
Version: 4.4.1
Platform: openSUSE RPMs
OS: Linux
Status: CONFIRMED
Severity: wishlist
Priority: NOR
Component: Language Support: CPP
Assignee: kdevelop-bugs-null@kde.org
Reporter: kde@opensource.sf-tec.de
If the emit keyword is used for something that is not a signal this should be
flagged as syntax error although it stricly is none because emit is just a
macro that expands to nothing.
Reproducible: Always
Steps to Reproduce:
static void foo()
{
}
static void baz()
{
emit foo();
}
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic