The following fragment generates a syntax error:
@startuml
(--------)
You should try this way:
@startuml package Package { [Component] package Nested { } } @enduml
It looks like some parsing issue, we will fix this in a future release.
Is this what you are expecting ?