So, i noticed when i encased a shulker in slabs he went all dark.
Related issues
Attachments
Comments

Confirmed for 15w45a
Confirmed for 15w46a
Fixed somewhere between 15w47a and 15w47c.

WAI, shulker is an entity, when it is in 0 light lvl it will be black/dark as other mobs in darkness.

Michał. I wouldn't say so because with 0 light (not covered by slabs) you can see the shulker because it isn't pitch black.
If anything, this is caused by the game thinking the shulker is fully encased in blocks. As a test: same setup as the shulker, but dig a block down. Place a skelton there and then the slab. Notice the skeleton turns pitch black as well (if it isn't on fire). This same setup with work with the foot section of the skeleton exposed to light but a slab through the torso as well.
Now remove the slab, kill the skeleton, and dig another block down. Place a skeleton and slab again... it's darker but not nearly pitch black (noticeably brighter than when encased in slabs, although still light level 0).
Confirmed for 15w47c

Confirmed for
15w49b However the bug is rather that this position is dark at all, so all entities are affected

Confired for 15w50a, and for all entities that can fit into the enclosed slabs.

Confirmed for 15w51a & 15w51b.

Confirmed for 16w06a

I think they should just fix the lighting for slabs, that would be good.

Confirmed for 1.13.1.
Fixed in 18w46a.