diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/mill/define/Ctx.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/mill/define/Ctx.scala b/core/src/mill/define/Ctx.scala index 6075b804..9b8db6ed 100644 --- a/core/src/mill/define/Ctx.scala +++ b/core/src/mill/define/Ctx.scala @@ -12,7 +12,9 @@ sealed trait Segment{ } } object Segment{ - case class Label(value: String) extends Segment + case class Label(value: String) extends Segment{ + assert(!value.contains('.')) + } case class Cross(value: Seq[Any]) extends Segment } |