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

Pre-Init

test

sketch K() { 
  sketch F() {} K();  // error
init(l:Length) {} } K();

test

sketch K() { 
  mod m {}   // error
init(l:Length) {} } K();

test

sketch K() { 
  fn f() {} f();   // error
init(l:Length) {} } K();

test

sketch K() { 
  init() {}
init(l:Length) {} } K();

test

sketch K() { 
  use std;
init(l:Length) {} } K();

test

sketch K() { 
  pub use std; // error
init(l:Length) {} } K();

test

sketch K() { 
  return 1; // error
init(l:Length) {} } K();

test

sketch K() { 
  if std::math::PI == 3 { } // error
init(l:Length) {} } K();

test

sketch K() { 
  const B = 1;
init(l:Length) {} } K();

test

sketch K() { 
  a = 1; // error
init(l:Length) {} } K();

test

sketch K() {
  prop a = 1; // error
init(l:Length) {} } K();

test

sketch K() { 
  1 + 2; // error
init(l:Length) {} } K();

test

sketch K() { 
  __builtin::geo2d::Circle(radius=1mm); // error
init(l:Length) {} }