Bridging Vlans

I can’t set-up a bridge assigned to a vlan interface and then assign it an ip address. If bridge the ethernet port then assign ip address it works fine but not if I use a vlan interface. Anyone know why?