Seeing as a derailleur doesn't have any set notches of movement and are essentially just a set of pulleys on a spring, I don't see how any discrepancy in shifter lever action would be incompatible with a derailleur provided the two extreme sides of movement are wide enough. Indexing is entirely managed by the shifters, derailleurs haven't changed changed since the days of down tube friction shifters. Try pulling the cable manually and you'll see. Shimano and SRAM use compatible cassettes and chains so are pretty interchangeable generally.
Thanks for chipping in Zakalwe. It seems illogical to me too but the fact of the matter is although they share the same basic construct, SRAM and Shimano
rear derailleurs will move different distances across the cassette for a given amount of cable pull.
As such the different indexing of the shifters leading to the 2:1 and 1:1 cable movement at the shifter lever will cause mis-shifts when paired with the opposing make's rear derailleur. (front derailleurs are spared from this issue)
The compatibility of SRAM/Shimano cassette and chains stem from the identical standards of chain and drivetrain teeth width shared by the two systems rather than similarities between the shifting mechanisms.
edit. ta cyber, didn't see your reply there.
also, just to make things more confusing. If I recall correctly, the shimano's flatbar shifters for their hybrid groupsets do share the same 1:1 pull ratio so will be compatible with SRAM derailleurs- possibly what the bike shop guy had in mind.