Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Module

test

mod k {
  sketch F() {}
}

test

mod k {
  mod m {}
}

test

mod k {
  fn f() {}
}

test

mod k {
  init() { }  // error
}

test

mod k {
  use std::geo2d;
}

test

mod k {
  pub use std::geo2d;
}

test

mod k {
  return 1;  // error
}

test

mod k {
  if std::math::PI == 3 { __builtin::geo2d::Circle(radius=1); }  // error
}

test

mod k {
  const B = 1;
}

test

mod k {
  a = 1; // error
}

test

mod k {
  prop a = 1;  // error
}

test

mod k {  // warning
  1 + 2; // error
}

test

mod k { // warning
  __builtin::geo2d::Circle(radius=1mm); // error
}