Trapdoors and pressure plates cause weird lighting when they are next to a block. This does not apply to all non-solid blocks (torches, repeaters, etc.).
Related issues
Attachments
Comments

[media]

Can confirm.
Duplicate of MC-2399.
It's related, but the light level is actually decreased.